From ace5d08b7680fdd3c0a83bd2149c515894674d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Silva?= Date: Thu, 24 Apr 2025 03:18:16 +0100 Subject: [PATCH] Set asyncio_default_fixture_loop_scope This is now expected, see https://github.com/pytest-dev/pytest-asyncio/issues/924 --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e58c4cd..6ac5457 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -150,3 +150,6 @@ convention = "pep257" [tool.ruff.format] docstring-code-format = true + +[tool.pytest.ini_options] +asyncio_default_fixture_loop_scope = "function"