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 425ac3a commit 1c04f2eCopy full SHA for 1c04f2e
test/unit/aio/test_ocsp.py
@@ -91,11 +91,9 @@ async def _asyncio_connect(url, timeout=5):
91
yield protocol
92
finally:
93
transport.close()
94
- # Wait for transport to actually close to avoid connection leaks
95
- await asyncio.sleep(0)
96
97
98
-@pytest.fixture(scope="session", autouse=True)
+@pytest.fixture(scope="module", autouse=True)
99
def windows_event_loop_policy():
100
"""Set Windows to use SelectorEventLoop for better network stability."""
101
if sys.platform == "win32":
0 commit comments