summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Chen Wang <60190294+Andrew-Chen-Wang@users.noreply.github.com>2021-10-05 06:12:01 -0400
committerGitHub <noreply@github.com>2021-10-05 13:12:01 +0300
commit677476d734d178e4ad89538042567367f703512b (patch)
treed15ddc9fd9ed4a2eff6cc9effbd1fdf4e9e8c884
parent9527ae88538735c10def3716cdae9388cdee2388 (diff)
downloadredis-py-677476d734d178e4ad89538042567367f703512b.tar.gz
Fix potential test case typo in test_zadd_gt_lt (#1585)
-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 736ae45..60b9ff1 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -1687,7 +1687,7 @@ class TestRedisCommands:
with pytest.raises(exceptions.DataError):
r.zadd('a', {'a15': 155}, nx=True, lt=True)
r.zadd('a', {'a15': 155}, nx=True, gt=True)
- r.zadd('a', {'a15': 155}, lx=True, gt=True)
+ r.zadd('a', {'a15': 155}, lt=True, gt=True)
def test_zcard(self, r):
r.zadd('a', {'a1': 1, 'a2': 2, 'a3': 3})