Skip to content

Commit dfaf525

Browse files
committed
change version checking from 8.2.0 to 8.1.224
1 parent 18775ca commit dfaf525

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

tests/test_asyncio/test_commands.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ async def test_bitop_string_operands(self, r: redis.Redis):
880880
assert int(binascii.hexlify(await r.get("res3")), 16) == 0x000000FF
881881

882882
@pytest.mark.onlynoncluster
883-
@skip_if_server_version_lt("8.2.0")
883+
@skip_if_server_version_lt("8.1.224")
884884
async def test_bitop_diff(self, r: redis.Redis):
885885
await r.set("a", b"\xf0")
886886
await r.set("b", b"\xc0")
@@ -894,7 +894,7 @@ async def test_bitop_diff(self, r: redis.Redis):
894894
assert await r.get("result2") == b"\xf0"
895895

896896
@pytest.mark.onlynoncluster
897-
@skip_if_server_version_lt("8.2.0")
897+
@skip_if_server_version_lt("8.1.224")
898898
async def test_bitop_diff1(self, r: redis.Redis):
899899
await r.set("a", b"\xf0")
900900
await r.set("b", b"\xc0")
@@ -910,7 +910,7 @@ async def test_bitop_diff1(self, r: redis.Redis):
910910
assert await r.get("result2") == b"\x00"
911911

912912
@pytest.mark.onlynoncluster
913-
@skip_if_server_version_lt("8.2.0")
913+
@skip_if_server_version_lt("8.1.224")
914914
async def test_bitop_andor(self, r: redis.Redis):
915915
await r.set("a", b"\xf0")
916916
await r.set("b", b"\xc0")
@@ -926,7 +926,7 @@ async def test_bitop_andor(self, r: redis.Redis):
926926
assert await r.get("result2") == b"\x00"
927927

928928
@pytest.mark.onlynoncluster
929-
@skip_if_server_version_lt("8.2.0")
929+
@skip_if_server_version_lt("8.1.224")
930930
async def test_bitop_one(self, r: redis.Redis):
931931
await r.set("a", b"\xf0")
932932
await r.set("b", b"\xc0")
@@ -942,7 +942,7 @@ async def test_bitop_one(self, r: redis.Redis):
942942
assert await r.get("result2") == b"\xff"
943943

944944
@pytest.mark.onlynoncluster
945-
@skip_if_server_version_lt("8.2.0")
945+
@skip_if_server_version_lt("8.1.224")
946946
async def test_bitop_new_operations_with_empty_keys(self, r: redis.Redis):
947947
await r.set("a", b"\xff")
948948

@@ -959,7 +959,7 @@ async def test_bitop_new_operations_with_empty_keys(self, r: redis.Redis):
959959
assert await r.get("empty_result4") is None
960960

961961
@pytest.mark.onlynoncluster
962-
@skip_if_server_version_lt("8.2.0")
962+
@skip_if_server_version_lt("8.1.224")
963963
async def test_bitop_new_operations_return_values(self, r: redis.Redis):
964964
await r.set("a", b"\xff\x00\xff")
965965
await r.set("b", b"\x00\xff")

tests/test_commands.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ def test_bitop_string_operands(self, r):
13141314
assert int(binascii.hexlify(r["res3"]), 16) == 0x000000FF
13151315

13161316
@pytest.mark.onlynoncluster
1317-
@skip_if_server_version_lt("8.2.0")
1317+
@skip_if_server_version_lt("8.1.224")
13181318
def test_bitop_diff(self, r):
13191319
r["a"] = b"\xf0"
13201320
r["b"] = b"\xc0"
@@ -1328,7 +1328,7 @@ def test_bitop_diff(self, r):
13281328
assert r["result2"] == b"\xf0"
13291329

13301330
@pytest.mark.onlynoncluster
1331-
@skip_if_server_version_lt("8.2.0")
1331+
@skip_if_server_version_lt("8.1.224")
13321332
def test_bitop_diff1(self, r):
13331333
r["a"] = b"\xf0"
13341334
r["b"] = b"\xc0"
@@ -1344,7 +1344,7 @@ def test_bitop_diff1(self, r):
13441344
assert r["result2"] == b"\x00"
13451345

13461346
@pytest.mark.onlynoncluster
1347-
@skip_if_server_version_lt("8.2.0")
1347+
@skip_if_server_version_lt("8.1.224")
13481348
def test_bitop_andor(self, r):
13491349
r["a"] = b"\xf0"
13501350
r["b"] = b"\xc0"
@@ -1360,7 +1360,7 @@ def test_bitop_andor(self, r):
13601360
assert r["result2"] == b"\x00"
13611361

13621362
@pytest.mark.onlynoncluster
1363-
@skip_if_server_version_lt("8.2.0")
1363+
@skip_if_server_version_lt("8.1.224")
13641364
def test_bitop_one(self, r):
13651365
r["a"] = b"\xf0"
13661366
r["b"] = b"\xc0"
@@ -1376,7 +1376,7 @@ def test_bitop_one(self, r):
13761376
assert r["result2"] == b"\xff"
13771377

13781378
@pytest.mark.onlynoncluster
1379-
@skip_if_server_version_lt("8.2.0")
1379+
@skip_if_server_version_lt("8.1.224")
13801380
def test_bitop_new_operations_with_empty_keys(self, r):
13811381
r["a"] = b"\xff"
13821382

@@ -1393,7 +1393,7 @@ def test_bitop_new_operations_with_empty_keys(self, r):
13931393
assert r.get("empty_result4") is None
13941394

13951395
@pytest.mark.onlynoncluster
1396-
@skip_if_server_version_lt("8.2.0")
1396+
@skip_if_server_version_lt("8.1.224")
13971397
def test_bitop_new_operations_return_values(self, r):
13981398
r["a"] = b"\xff\x00\xff"
13991399
r["b"] = b"\x00\xff"

0 commit comments

Comments
 (0)