From 9a3ca68915002f28d9d50d369cc38f81161af404 Mon Sep 17 00:00:00 2001 From: scosman Date: Tue, 3 Sep 2024 11:55:00 -0400 Subject: [PATCH] Fix warning --- pytest.ini | 2 ++ 1 file changed, 2 insertions(+) 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.