-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
type: testAdding missing tests or correcting existing testsAdding missing tests or correcting existing tests
Description
When running the tests, we get this warning:
python-re3data/.venv/lib/python3.13/site-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"
We need to set asyncio_default_fixture_loop_scope in the pytest settings to deal with this.
Ref: https://pytest-asyncio.readthedocs.io/en/stable/how-to-guides/change_default_fixture_loop.html
Metadata
Metadata
Assignees
Labels
type: testAdding missing tests or correcting existing testsAdding missing tests or correcting existing tests