π The fast, Pythonic way to build MCP servers and clients.
fix: set pytest-asyncio default fixture loop scope to function (#2758)
Jeremiah Lowin5e0e6bbc49f1
diff --git a/pyproject.toml b/pyproject.tomlindex 98de5c134..a6e17eada 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -104,6 +104,7 @@ fallback-version = "0.0.0"[tool.pytest.ini_options]asyncio_mode = "auto"+asyncio_default_fixture_loop_scope = "function"# filterwarnings = ["error::DeprecationWarning"]filterwarnings = [# Suppress OAuth in-memory token storage warnings in tests