From b902ab831a86834fa0b810a403ffdead49f07a6e Mon Sep 17 00:00:00 2001 From: Gabriel Gerlero Date: Mon, 30 Sep 2024 09:43:03 -0300 Subject: [PATCH] Fix pytest-asyncio DeprecationWarning --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4549bc9..adaf198 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,6 +73,9 @@ version = {attr = "foamlib.__version__"} [tool.setuptools.package-data] "foamlib" = ["py.typed"] +[tool.pytest.ini_options] +asyncio_default_fixture_loop_scope = "session" + [tool.mypy] packages = [ "foamlib",