diff --git a/pytest.ini b/pytest.ini index 269631eb..8b5a0636 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,6 +1,8 @@ # Automtically detect async tests [pytest] asyncio_mode=auto +# Needed to silence warning. See https://github.com/pytest-dev/pytest-asyncio/issues/924 +asyncio_default_fixture_loop_scope="function" markers = paid: marks tests as requring paid APIs. Not run by default, run with '--runpaid' option.