Explicitly set asyncio_default_fixture_loop_scope to get rid of the DeprecationWarning
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://github.com/pytest-dev/pytest-asyncio/issues/924
Loading
Please sign in to comment