From 0a215d77e4ce55bc29506b34fff2d16afed7d889 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Sun, 12 Nov 2023 19:27:45 +0000 Subject: [PATCH] Remove assert --- aiohttp/client_reqrep.py | 1 - 1 file changed, 1 deletion(-) diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index b168e327de6..8e9e080585a 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -1016,7 +1016,6 @@ async def _wait_released(self) -> None: def _cleanup_writer(self) -> None: if self._writer is not None: - assert not self._writer.done() self._writer.cancel() self._session = None