Skip to content

Commit 3a2d844

Browse files
committed
PYTHON-5071 Go back to package scope
1 parent 148482c commit 3a2d844

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/asynchronous/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def event_loop_policy():
2222
return asyncio.get_event_loop_policy()
2323

2424

25-
@pytest_asyncio.fixture(scope="session", autouse=True)
25+
@pytest_asyncio.fixture(scope="package", autouse=True)
2626
async def test_setup_and_teardown():
2727
await async_setup()
2828
yield

test/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def event_loop_policy():
2020
return asyncio.get_event_loop_policy()
2121

2222

23-
@pytest.fixture(scope="session", autouse=True)
23+
@pytest.fixture(scope="package", autouse=True)
2424
def test_setup_and_teardown():
2525
setup()
2626
yield

0 commit comments

Comments
 (0)