Verified Commit 0a6765a9 authored by Mateusz Żebrak's avatar Mateusz Żebrak
Browse files

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
parent 4d6b7fff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment