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 3e37081 commit effec9fCopy full SHA for effec9f
tests/shared/test_progress_notifications.py
@@ -371,7 +371,9 @@ async def handle_list_tools() -> list[types.Tool]:
371
with patch("mcp.shared.session.logging.error", side_effect=mock_log_error):
372
transport = InMemoryTransport(server)
373
async with transport.connect() as (read_stream, write_stream):
374
- async with ClientSession(read_stream=read_stream, write_stream=write_stream) as session:
+ async with ClientSession( # pragma: no branch
375
+ read_stream=read_stream, write_stream=write_stream
376
+ ) as session:
377
await session.initialize()
378
# Send a request with a failing progress callback
379
result = await session.send_request(
0 commit comments