summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvital Fine <79420960+AvitalFineRedis@users.noreply.github.com>2021-12-26 08:06:04 +0100
committerGitHub <noreply@github.com>2021-12-26 09:06:04 +0200
commitf03d008ba226c698e266158012b47b348b89b503 (patch)
tree60c62fca1d9d6d6ad15803f82a54e9e4f528b10d
parent04b8d34e212723974b9b1f484fe7cd9e93f0e315 (diff)
downloadredis-py-f03d008ba226c698e266158012b47b348b89b503.tar.gz
SRTALGO - skip for redis versions greater than 7.0.0 (#1831)
-rw-r--r--tests/test_commands.py1
1 files changed, 1 insertions, 0 deletions
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")