From f03d008ba226c698e266158012b47b348b89b503 Mon Sep 17 00:00:00 2001 From: Avital Fine <79420960+AvitalFineRedis@users.noreply.github.com> Date: Sun, 26 Dec 2021 08:06:04 +0100 Subject: SRTALGO - skip for redis versions greater than 7.0.0 (#1831) --- tests/test_commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_commands.py b/tests/test_commands.py index 897fcce..b28b63e 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -1379,6 +1379,7 @@ class TestRedisCommands: ) == {"len": len(res), "matches": [[4, (4, 7), (5, 8)]]} @skip_if_server_version_lt("6.0.0") + @skip_if_server_version_gte("7.0.0") def test_stralgo_negative(self, r): with pytest.raises(exceptions.DataError): r.stralgo("ISSUB", "value1", "value2") -- cgit v1.2.1