MCPcopy
hub / github.com/redis/redis-py / _do

Method _do

tests/test_retry.py:148–150  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

146 self.actual_failures = 0
147
148 def _do(self):
149 self.actual_attempts += 1
150 raise ConnectionError()
151
152 def _fail(self, error):
153 self.actual_failures += 1

Callers

nothing calls this directly

Calls 1

ConnectionErrorClass · 0.90

Tested by

no test coverage detected