From 0b6ab214001abd1276f5bf33e64382f980cb9b40 Mon Sep 17 00:00:00 2001 From: Jakub Wlodek Date: Thu, 19 Sep 2024 09:35:54 -0400 Subject: [PATCH] Add asyncio_default_fixture_loop_scope variable to pytest.ini to avoid deprecation warning (#584) --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index a9b8fc141..23afbf19b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,6 +109,7 @@ markers = [ "adsim: require the ADsim IOC to be running", ] asyncio_mode = "auto" +asyncio_default_fixture_loop_scope = "function" [tool.coverage.run] data_file = "/tmp/ophyd_async.coverage"