From 92b3ee8f1212555e3b939474599388822e95bbad 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