We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3cb4d8 commit 65aecfaCopy full SHA for 65aecfa
1 file changed
tests/client/test_session_group.py
@@ -308,7 +308,7 @@ async def fail_request(request: httpx.Request) -> httpx.Response:
308
309
with mock.patch("mcp.client.session_group.create_mcp_http_client", return_value=http_client):
310
async with ClientSessionGroup() as group:
311
- with pytest.raises(MCPError) as excinfo:
+ with pytest.raises(MCPError) as excinfo: # pragma: no branch
312
await group.connect_to_server(
313
StreamableHttpParameters(url="http://example.test/mcp"),
314
ClientSessionParameters(read_timeout_seconds=2),
0 commit comments