From 19490afb25ed51c89134726a6b390e476a9f1a50 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 20 Feb 2025 18:07:46 +0100 Subject: [PATCH] Changing the scope from module to session to fix the event_loop issue. --- integration-tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/conftest.py b/integration-tests/conftest.py index 0aa3f28b..8440df34 100644 --- a/integration-tests/conftest.py +++ b/integration-tests/conftest.py @@ -352,13 +352,13 @@ def ignore_logprob_response_snapshot(snapshot): return snapshot.use_extension(IgnoreLogProbResponseComparator) -@pytest.fixture(scope="module") +@pytest.fixture(scope="session") def error_log(): with tempfile.TemporaryFile("w+") as tmp: yield tmp -@pytest.fixture(scope="module") +@pytest.fixture(scope="session") async def launcher(error_log): @contextlib.contextmanager def local_launcher(