diff --git a/tests/test_commands.py b/tests/test_commands.py index 09121617cb..f2f425b44b 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -1340,6 +1340,7 @@ def test_setrange(self, r): assert r["a"] == b"abcdef12345" @skip_if_server_version_lt("6.0.0") + @skip_if_server_version_gte("7.0.0") def test_stralgo_lcs(self, r): key1 = "{foo}key1" key2 = "{foo}key2" @@ -1372,6 +1373,7 @@ def test_stralgo_lcs(self, r): ) == {"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")