diff --git a/tests/test_sockets.py b/tests/test_sockets.py index 1be01e7b..872ea9ca 100644 --- a/tests/test_sockets.py +++ b/tests/test_sockets.py @@ -1852,7 +1852,10 @@ async def test_connect_tcp_getaddrinfo_context() -> None: assert exc_info.value.__context__ is None -async def test_wait_socket_readable() -> None: +async def test_wait_socket_readable(anyio_backend_name) -> None: + if anyio_backend_name == "trio" and sys.platform == "win32": + pytest.skip("Internal error in Trio") + def client(port: int) -> None: with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: sock.connect(("127.0.0.1", port))