File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ()
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ async def handler(
299299
300300async 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 ):
You can’t perform that action at this time.
0 commit comments