summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAvital Fine <79420960+AvitalFineRedis@users.noreply.github.com>2021-11-08 16:51:54 +0100
committerGitHub <noreply@github.com>2021-11-08 17:51:54 +0200
commitea04bae5e082ff71aaa1f9a9d07d9bda10b7696e (patch)
tree760ced42882ae6ba995f39e97f9e30446d741713 /tests
parentbba75187931af84dd21c91bcf1b3bd422c9aed72 (diff)
downloadredis-py-ea04bae5e082ff71aaa1f9a9d07d9bda10b7696e.tar.gz
Restore zrange functionality for older versions of Redis (#1670)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py
index 723612a..37a3698 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -1866,7 +1866,7 @@ class TestRedisCommands:
r.zadd('a', {'a1': 1, 'a2': 2, 'a3': 3})
assert r.zrange('a', 0, 1) == [b'a1', b'a2']
assert r.zrange('a', 1, 2) == [b'a2', b'a3']
- assert r.zrange('a', 0, 2, desc=True) == [b'a3', b'a2', b'a1']
+ assert r.zrange('a', 0, 2) == [b'a1', b'a2', b'a3']
# withscores
assert r.zrange('a', 0, 1, withscores=True) == \