We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31d6c62 commit 55c5351Copy full SHA for 55c5351
tests/server/fastmcp/test_tool_manager.py
@@ -985,11 +985,11 @@ async def slow_tool(duration: float) -> str:
985
reason="Blocking sync operations (time.sleep) don't respect anyio.fail_after() timeouts. "
986
"Use anyio.sleep() in async functions for timeout support."
987
)
988
- async def test_sync_tool_timeout(self):
+ async def test_sync_tool_timeout(self): # pragma: no cover
989
"""Test that synchronous tools also respect timeout."""
990
import time
991
992
- def slow_sync_tool(duration: float) -> str: # pragma: no cover
+ def slow_sync_tool(duration: float) -> str:
993
"""A synchronous tool that sleeps."""
994
time.sleep(duration)
995
return "completed"
0 commit comments