Skip to content

Commit 56a251c

Browse files
fix ExponentialWithJitterBackoff __eq__
This change fixes a typo in `ExponentialWithJitterBackoff`'s `__eq__` method.
1 parent 5977e38 commit 56a251c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/backoff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def __hash__(self) -> int:
170170
return hash((self._base, self._cap))
171171

172172
def __eq__(self, other) -> bool:
173-
if not isinstance(other, EqualJitterBackoff):
173+
if not isinstance(other, ExponentialWithJitterBackoff):
174174
return NotImplemented
175175

176176
return self._base == other._base and self._cap == other._cap

0 commit comments

Comments
 (0)