diff --git a/test/test_scripting_lua_only.py b/test/test_scripting_lua_only.py index b55d71ea..47b4cf72 100644 --- a/test/test_scripting_lua_only.py +++ b/test/test_scripting_lua_only.py @@ -13,6 +13,7 @@ lupa = pytest.importorskip("lupa") +@pytest.mark.max_server('7.1') def test_eval_blpop(r: redis.Redis): r.rpush('foo', 'bar') with pytest.raises(redis.ResponseError, match='This Redis command is not allowed from script'):