From acb0c4110b3b7c76f2e2f359679372f8e957e947 Mon Sep 17 00:00:00 2001 From: --get Date: Sun, 2 Jul 2023 09:24:07 -0400 Subject: [PATCH] fix:fix test not passing on redis7.2 --- test/test_scripting_lua_only.py | 1 + 1 file changed, 1 insertion(+) 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'):