Skip to content

Commit 1c04f2e

Browse files
TEMP FIX
1 parent 425ac3a commit 1c04f2e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/unit/aio/test_ocsp.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,9 @@ async def _asyncio_connect(url, timeout=5):
9191
yield protocol
9292
finally:
9393
transport.close()
94-
# Wait for transport to actually close to avoid connection leaks
95-
await asyncio.sleep(0)
9694

9795

98-
@pytest.fixture(scope="session", autouse=True)
96+
@pytest.fixture(scope="module", autouse=True)
9997
def windows_event_loop_policy():
10098
"""Set Windows to use SelectorEventLoop for better network stability."""
10199
if sys.platform == "win32":

0 commit comments

Comments
 (0)