From 41f7b1aadf49905eb2ab168006992b1a32d5373a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sviatoslav=20Sydorenko=20=28=D0=A1=D0=B2=D1=8F=D1=82=D0=BE?= =?UTF-8?q?=D1=81=D0=BB=D0=B0=D0=B2=20=D0=A1=D0=B8=D0=B4=D0=BE=D1=80=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE=29?= Date: Mon, 29 Jan 2024 06:02:37 +0100 Subject: [PATCH] fixup! --- aiohttp/client_proto.py | 4 ++-- aiohttp/client_reqrep.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aiohttp/client_proto.py b/aiohttp/client_proto.py index d43a14d2f39..b87e7434c6a 100644 --- a/aiohttp/client_proto.py +++ b/aiohttp/client_proto.py @@ -110,7 +110,7 @@ def connection_lost(self, exc: Optional[BaseException]) -> None: except Exception as underlying_exc: if self._payload is not None: client_payload_exc_msg = ( - "Response payload is not completed: " f"{underlying_exc !r}" + f"Response payload is not completed: {underlying_exc !r}" ) if not connection_closed_cleanly: client_payload_exc_msg = ( @@ -279,7 +279,7 @@ def data_received(self, data: bytes) -> None: # should_close is True after the call self.set_exception( ClientPayloadError( - "Unable to parse response payload: " f"{underlying_exc !r}" + f"Unable to parse response payload: {underlying_exc !r}" ), underlying_exc, ) diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index b3c5d276ee2..ed25cd18bc1 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -590,7 +590,7 @@ async def write_bytes( set_exception( protocol, ClientConnectionError( - "Failed to send bytes into the " f"underlying connection {conn !s}", + f"Failed to send bytes into the underlying connection {conn !s}", ), underlying_exc, )