diff --git a/tests/test_client_proto.py b/tests/test_client_proto.py index 6be01c1d6f4..eea2830246a 100644 --- a/tests/test_client_proto.py +++ b/tests/test_client_proto.py @@ -136,7 +136,7 @@ async def test_eof_received(loop) -> None: assert proto._read_timeout_handle is None -async def test_connection_lost_sets_transport_to_none(loop: Any, mocker: Any) -> None: +async def test_connection_lost_sets_transport_to_none(loop, mocker) -> None: """Ensure that the transport is set to None when the connection is lost. This ensures the writer knows that the connection is closed.