Skip to content

Commit a77efc4

Browse files
committed
Drop two stray draft annotations from comments
1 parent f3507eb commit a77efc4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/mcp/client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ async def listen(
656656
session._stamp(data, opts) # pyright: ignore[reportPrivateUsage]
657657
# The modern stamp suppresses the courtesy cancel, but `close()` relies on
658658
# it: at a modern version the frame never crosses the wire - the transport
659-
# translates it into aborting the listen POST's response stream (LR-15).
659+
# translates it into aborting the listen POST's response stream.
660660
opts["cancel_on_abandon"] = True
661661
open_error: MCPError | None = None
662662
driver_scope = anyio.CancelScope()

tests/client/test_subscriptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ async def handler(
299299

300300
async def test_listen_outlives_the_session_default_read_timeout() -> None:
301301
"""The listen request bypasses `read_timeout_seconds`: the stream stays open and
302-
keeps delivering long after the session default would have expired it (Q6)."""
302+
keeps delivering long after the session default would have expired it."""
303303
mcp = MCPServer("publisher")
304304
async with Client(mcp, read_timeout_seconds=0.01) as client:
305305
with anyio.fail_after(5):

0 commit comments

Comments
 (0)