diff options
author | Tim Gates <tim.gates@iress.com> | 2022-07-24 22:34:26 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 15:34:26 +0300 |
commit | a304953ed57c81a008a0217df375239a85ad7a04 (patch) | |
tree | eab7d88a9e5710702e242e60f44fc36355b8152e /tests/test_cluster.py | |
parent | 1d82cb2f6a4bcda86ff78dd76d62580c5a40ca08 (diff) | |
download | redis-py-a304953ed57c81a008a0217df375239a85ad7a04.tar.gz |
docs: Fix a few typos (#2274)
* docs: Fix a few typos
There are small typos in:
- redis/cluster.py
- redis/commands/core.py
- redis/ocsp.py
- tests/test_cluster.py
Fixes:
- Should read `validity` rather than `valididy`.
- Should read `reinitialize` rather than `reinitilize`.
- Should read `farthest` rather than `farest`.
- Should read `commands` rather than `comamnds`.
* Update core.py
Diffstat (limited to 'tests/test_cluster.py')
-rw-r--r-- | tests/test_cluster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cluster.py b/tests/test_cluster.py index 0353323..5652673 100644 --- a/tests/test_cluster.py +++ b/tests/test_cluster.py @@ -672,7 +672,7 @@ class TestRedisClusterObj: with patch.object(Redis, "parse_response") as parse_response: def moved_redirect_effect(connection, *args, **options): - # raise a timeout for 5 times so we'll need to reinitilize the topology + # raise a timeout for 5 times so we'll need to reinitialize the topology if count.val == 4: parse_response.side_effect = real_func count.val += 1 |