Skip to content

Commit

Permalink
fix:fix test not passing on redis7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Jul 2, 2023
1 parent 2f24d88 commit acb0c41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_scripting_lua_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit acb0c41

Please sign in to comment.