Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
temeddix committed Nov 16, 2023
1 parent 3fec18e commit 800d1bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_qeventloop.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,11 @@ def test_regression_bug13(loop, sock_pair):
client_done, server_done = asyncio.Future(), asyncio.Future()

if os.name == "nt":
# On Windows, `loop.add_reader` and `loop.add_writer`
# are not supported by Python's `asyncio` due to platform limitations.
# Though `qasync` does provide those methods on Windows,
# it doesn't guarantee safety against race conditions like on Unix.
# https://docs.python.org/3/library/asyncio-platforms.html
return

async def server_coro():
Expand Down

0 comments on commit 800d1bb

Please sign in to comment.