diff --git a/mcstatus/tests/test_server.py b/mcstatus/tests/test_server.py index 5080052..72b9fe7 100644 --- a/mcstatus/tests/test_server.py +++ b/mcstatus/tests/test_server.py @@ -57,6 +57,10 @@ async def create_mock_packet_server(event_loop): class TestAsyncMinecraftServer: + @pytest.mark.skipif( + sys.platform.startswith("win"), + reason="async bug on Windows https://github.com/Dinnerbone/mcstatus/issues/140", + ) @pytest.mark.asyncio async def test_async_ping(self, unused_tcp_port, create_mock_packet_server): mock_packet_server = await create_mock_packet_server( diff --git a/mcstatus/tests/test_timeout.py b/mcstatus/tests/test_timeout.py index 69e6835..d4e2825 100644 --- a/mcstatus/tests/test_timeout.py +++ b/mcstatus/tests/test_timeout.py @@ -17,10 +17,6 @@ async def fake_asyncio_asyncio_open_connection(hostname, port): return FakeAsyncStream(), None -@pytest.mark.skipif( - sys.platform.startswith("win"), - reason="async bug on Windows https://github.com/Dinnerbone/mcstatus/issues/140", -) class TestAsyncSocketConnection: def setup_method(self): self.tcp_async_socket = TCPAsyncSocketConnection()