Skip to content

Commit

Permalink
test: make tests succeed on windows as well
Browse files Browse the repository at this point in the history
  • Loading branch information
vasarhelyi committed Aug 13, 2024
1 parent dcc49e3 commit 8265953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async def test_process_connection_read(nursery):
if not data:
break

chunks.append(data)
chunks.append(data.replace(b"\r\n", b"\n"))

assert b"".join(chunks) == b"foo\n" * 10

Expand All @@ -40,7 +40,7 @@ async def test_process_connection_echo(nursery):
if not data:
break

chunks += data
chunks += data.replace(b"\r\n", b"\n")

assert chunks == b"foobar\nbaz\n"

Expand Down

0 comments on commit 8265953

Please sign in to comment.