We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25a20a2 commit 5fc777dCopy full SHA for 5fc777d
tests/issues/test_1811_sse_disconnect_hang.py
@@ -156,7 +156,7 @@ async def test_client_receives_error_on_sse_disconnect(slow_server_url: str):
156
157
# Call the slow tool - the read timeout should fire
158
# and the client should receive an error instead of hanging
159
- with pytest.raises(McpError, match="SSE stream disconnected"):
+ with pytest.raises(McpError, match="SSE stream disconnected"): # pragma: no branch
160
await session.call_tool("slow_tool", {})
161
162
0 commit comments