Skip to content

Commit bc067e6

Browse files
committed
add comment explaining the keepalive fixture
1 parent 0e80939 commit bc067e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/tests_async/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ def anyio_backend():
66
return "asyncio"
77

88

9+
# this keeps the event loop open for the entire test suite
10+
# for reasons unknown to me the tests don't work otherwise
911
@pytest.fixture(scope="session", autouse=True)
1012
async def keepalive(anyio_backend):
1113
pass

0 commit comments

Comments
 (0)