Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kristjanvalur committed Jan 23, 2023
1 parent efc74e8 commit ed57208
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_asyncio/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ async def test_connection_disconect_race(parser_class):
"""
This test reproduces the case in issue #2349
where a connection is closed while the parser is reading to feed the
internal buffer.The stremam read() will succeed, but when it returns,
another task hasalready called `disconnect()` and is waiting for
close to finish. When it attempts to feed the buffer, it will fail
internal buffer.The stream `read()` will succeed, but when it returns,
another task has already called `disconnect()` and is waiting for
close to finish. When we attempts to feed the buffer, we will fail
since the buffer is no longer there.
This test verifies that a read in progress can finish even
Expand Down

0 comments on commit ed57208

Please sign in to comment.