From f88d4abcd24c3e1b3185471fe24ca4cb52fdd314 Mon Sep 17 00:00:00 2001 From: Mirko Dietrich Date: Mon, 14 Oct 2024 17:07:54 +0200 Subject: [PATCH] chore: add pytest config option `asyncio_default_fixture_loop_scope` Ref: pytest-dev/pytest-asyncio#924 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 7f0c85b..284583c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,6 +74,7 @@ allow-dunder-method-names = ["__get_pydantic_core_schema__"] addopts = "--doctest-modules" # https://github.com/pytest-dev/pytest-asyncio#auto-mode asyncio_mode = "auto" +asyncio_default_fixture_loop_scope="function" markers = ["render_params", "source_pkg", "ui_file"] # This section is read automatically by Coverage.py when its working directory is .