Skip to content

Commit

Permalink
loop_scope instead of scope
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianTremblay committed Sep 9, 2024
1 parent 6445d1c commit 8a28787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

def pytest_collection_modifyitems(items):
pytest_asyncio_tests = (item for item in items if is_async_test(item))
session_scope_marker = pytest.mark.asyncio(scope="session")
session_scope_marker = pytest.mark.asyncio(loop_scope="session")
for async_test in pytest_asyncio_tests:
async_test.add_marker(session_scope_marker, append=False)

Expand Down

0 comments on commit 8a28787

Please sign in to comment.