Closed
Description
When using loop_scope="package"
, this fixture defined in my test/asynchronous/conftest.py
throws a fatal error on test setup:
@pytest_asyncio.fixture(loop_scope="package", scope="package", autouse=True)
async def test_setup_and_teardown():
await async_setup()
yield
await async_teardown()
# Error:
E fixture 'test/asynchronous::<event_loop>' not found
Every other loop_scope
does not throw this error. Is there an additional step required for package
scoped fixtures?
Metadata
Metadata
Assignees
Labels
No labels