Skip to content

Commit

Permalink
Update test_http_writer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Feb 10, 2023
1 parent 3ff2a4d commit f2d34fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_http_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,7 @@ async def test_write_to_closing_transport(protocol, transport, loop) -> None:
await msg.write(b"After closing")


async def test_write_to_closed_transport(
protocol: Any, transport: Any, loop: Any
) -> None:
async def test_write_to_closed_transport(protocol, transport, loop) -> None:
"""Test that writing to a closed transport raises ConnectionResetError.
The StreamWriter checks to see if protocol.transport is None before
Expand Down

0 comments on commit f2d34fe

Please sign in to comment.