Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 11, 2024
1 parent 5590df8 commit 06b8c7a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_sockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1856,10 +1856,7 @@ async def test_connect_tcp_getaddrinfo_context() -> None:
@pytest.mark.parametrize("use_fd", [False, True])
@pytest.mark.parametrize("event", ["readable", "writable"])
async def test_wait_socket(anyio_backend_name: str, event: str, use_fd: bool) -> None:
if (
anyio_backend_name == "asyncio"
and sys.platform == "win32"
):
if anyio_backend_name == "asyncio" and sys.platform == "win32":
import asyncio

policy = asyncio.get_event_loop_policy()
Expand Down

0 comments on commit 06b8c7a

Please sign in to comment.