From 5fd515f36498c19e890b946fe3e749bbeeea6835 Mon Sep 17 00:00:00 2001 From: Andrew Chen Wang <60190294+Andrew-Chen-Wang@users.noreply.github.com> Date: Mon, 4 Oct 2021 17:55:19 -0400 Subject: [PATCH] Fix potential test case typo in test_zadd_gt_lt --- tests/test_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})