Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure asyncio_default_fixture_loop_scope
This resolves: 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" See https://pytest-asyncio.readthedocs.io/en/latest/reference/configuration.html#asyncio-default-fixture-loop-scope Accordingly, we need to update pytest_asyncio.fixture following https://pytest-asyncio.readthedocs.io/en/latest/how-to-guides/migrate_from_0_23.html.
- Loading branch information