Skip to content

Commit f03d008

Browse files
SRTALGO - skip for redis versions greater than 7.0.0 (#1831)
1 parent 04b8d34 commit f03d008

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_commands.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,6 +1379,7 @@ def test_stralgo_lcs(self, r):
13791379
) == {"len": len(res), "matches": [[4, (4, 7), (5, 8)]]}
13801380

13811381
@skip_if_server_version_lt("6.0.0")
1382+
@skip_if_server_version_gte("7.0.0")
13821383
def test_stralgo_negative(self, r):
13831384
with pytest.raises(exceptions.DataError):
13841385
r.stralgo("ISSUB", "value1", "value2")

0 commit comments

Comments
 (0)