diff --git a/tests/test_commands.py b/tests/test_commands.py index 736ae45174..60b9ff15bf 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -1687,7 +1687,7 @@ def test_zadd_gt_lt(self, r): 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})