Skip to content

Commit e0ec578

Browse files
author
Jianke LIN
committed
test(streamable-http): mark traced timeout guards no-branch
1 parent fc802f6 commit e0ec578

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/client/test_streamable_http.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async def test_sse_response_disconnect_before_any_event_id_fails_request() -> No
9393

9494
async with read_stream_writer, read_stream:
9595
await transport._handle_sse_response(response, ctx)
96-
with anyio.fail_after(5):
96+
with anyio.fail_after(5): # pragma: no branch
9797
message = await read_stream.receive()
9898

9999
assert isinstance(message, SessionMessage)
@@ -146,7 +146,7 @@ def connect_sse(*args: object, **kwargs: object) -> PrimingOnlyEventSource:
146146
)
147147

148148
async with read_stream_writer, read_stream:
149-
with anyio.fail_after(5):
149+
with anyio.fail_after(5): # pragma: no branch
150150
await transport._handle_reconnection(ctx, "event-1", retry_interval_ms=0)
151151
message = await read_stream.receive()
152152

0 commit comments

Comments
 (0)