From f522dded46fc208e5d987f9be8a90bb218d16f7c Mon Sep 17 00:00:00 2001 From: Felddy Date: Thu, 29 Aug 2024 12:35:32 -0400 Subject: [PATCH] Set the default asyncio fixture loop scope See: - https://github.com/pytest-dev/pytest-asyncio/issues/924 --- pytest.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/pytest.ini b/pytest.ini index 189f9fc..a954c1d 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,4 @@ [pytest] addopts = -v -ra --cov asyncio_mode = auto +asyncio_default_fixture_loop_scope = session