From 4d26dc93b9eb1bf6fccda7ce77301e83bab57b07 Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Wed, 30 Oct 2024 20:43:34 +0800 Subject: [PATCH] :wrench: update pytest asyncio config --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index c18650e..7e3dc45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,6 +48,7 @@ nb-autodoc = { git = "https://github.com/nonebot/nb-autodoc.git" } [tool.pytest.ini_options] asyncio_mode = "auto" +asyncio_default_fixture_loop_scope = "session" addopts = "--cov=nonebot/adapters/feishu --cov-report=term-missing" filterwarnings = ["error", "ignore::DeprecationWarning"]