Update in-memory timeout-message assertion for SDK v2

This commit is contained in:
Jeremiah Lowin 2026-07-05 21:33:42 -04:00
commit 47e8eec026
No known key found for this signature in database

View file

@ -15,7 +15,7 @@ class TestTimeout:
) as client:
with pytest.raises(
MCPError,
match="Timed out while waiting for response to ClientRequest. Waited 0.05 seconds",
match="timed out",
):
await client.call_tool("sleep", {"seconds": 0.1})