Skip to content

Commit ed57208

Browse files
committed
fix typos
1 parent efc74e8 commit ed57208

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_asyncio/test_connection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ async def test_connection_disconect_race(parser_class):
158158
"""
159159
This test reproduces the case in issue #2349
160160
where a connection is closed while the parser is reading to feed the
161-
internal buffer.The stremam read() will succeed, but when it returns,
162-
another task hasalready called `disconnect()` and is waiting for
163-
close to finish. When it attempts to feed the buffer, it will fail
161+
internal buffer.The stream `read()` will succeed, but when it returns,
162+
another task has already called `disconnect()` and is waiting for
163+
close to finish. When we attempts to feed the buffer, we will fail
164164
since the buffer is no longer there.
165165
166166
This test verifies that a read in progress can finish even

0 commit comments

Comments
 (0)