We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04f340e commit c633ab9Copy full SHA for c633ab9
redis/asyncio/connection.py
@@ -491,8 +491,6 @@ async def read_from_socket(
491
# data was read from the socket and added to the buffer.
492
# return True to indicate that data was read.
493
return True
494
- except asyncio.CancelledError:
495
- raise
496
except (socket.timeout, asyncio.TimeoutError):
497
if raise_on_timeout:
498
raise TimeoutError("Timeout reading from socket") from None
tests/test_asyncio/test_pubsub.py
@@ -917,7 +917,7 @@ async def loop_step_listen(self):
917
except asyncio.TimeoutError:
918
return False
919
920
-
+
921
@pytest.mark.onlynoncluster
922
class TestBaseException:
923
@pytest.mark.skipif(
0 commit comments