We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d32a3f3 commit be946e5Copy full SHA for be946e5
tests/unit/server.py
@@ -459,7 +459,7 @@ def run(self, sockets: list[socket] | None = None) -> None:
459
"""Run the server."""
460
# Set the event loop policy in thread with server for Windows and Python 3.12+.
461
# This is necessary because there are problems with closing connections when using `ProactorEventLoop`
462
- if sys.version_info >= (3, 12) and sys.platform == 'win32':
+ if sys.version_info >= (3, 10) and sys.platform == 'win32':
463
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
464
super().run(sockets=sockets)
465
0 commit comments