From 200f7576cd771b74bee6bae06ea3d3c2501505e3 Mon Sep 17 00:00:00 2001 From: David Svenson Date: Mon, 20 Jan 2025 09:14:22 +0100 Subject: [PATCH] Set asyncio_default_fixture_loop_scope. This will silence a deprecation warning from pytest-asyncio. https://github.com/pytest-dev/pytest-asyncio/issues/924 --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 7c964b4..6e35c9f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,5 @@ [wheel] universal=1 + +[tool:pytest] +asyncio_default_fixture_loop_scope = session