From afae7f51c072d33bd3fc8abb67f4d43d468f8ca6 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 7 Oct 2024 10:20:48 -0700 Subject: [PATCH] Fix pytest-asyncio warning --- pytest.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/pytest.ini b/pytest.ini index 559e518c..fa01b249 100644 --- a/pytest.ini +++ b/pytest.ini @@ -9,3 +9,4 @@ filterwarnings= markers = serial: tests to avoid using with pytest-xdist asyncio_mode = strict +asyncio_default_fixture_loop_scope = function \ No newline at end of file