Skip to content

Commit 084ac9e

Browse files
committed
fix: rename unused write_stream to _write_stream in tests
1 parent 77b7e4b commit 084ac9e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/server/test_stdio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async def test_stdio_server_with_buffer_size():
8282
stdout=anyio.AsyncFile(stdout),
8383
read_stream_buffer_size=5,
8484
write_stream_buffer_size=5,
85-
) as (read_stream, write_stream):
85+
) as (read_stream, _write_stream):
8686
received_messages: list[JSONRPCMessage] = []
8787
async with read_stream:
8888
async for message in read_stream:
@@ -118,7 +118,7 @@ async def test_stdio_server_buffered_does_not_block_reader():
118118
stdin=anyio.AsyncFile(stdin),
119119
stdout=anyio.AsyncFile(stdout),
120120
read_stream_buffer_size=num_messages,
121-
) as (read_stream, write_stream):
121+
) as (read_stream, _write_stream):
122122
# Give the reader time to buffer all messages
123123
await anyio.sleep(0.1)
124124

0 commit comments

Comments
 (0)