From f499871782e75e7c1fb2f2f47561b87a849dfd28 Mon Sep 17 00:00:00 2001 From: Mourits de Beer <31511766+ff137@users.noreply.github.com> Date: Tue, 29 Oct 2024 20:57:56 +0200 Subject: [PATCH] :wrench: set default fixture scope for pytest-asyncio (#3318) Resolves `PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset` Signed-off-by: ff137 Co-authored-by: jamshale <31809382+jamshale@users.noreply.github.com> --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 565db64b90..c94805c843 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -137,6 +137,7 @@ markers = [ ] junit_family = "xunit1" asyncio_mode = "auto" +asyncio_default_fixture_loop_scope = "module" [tool.coverage.run]