(self, r)
| 1624 | @pytest.mark.onlynoncluster |
| 1625 | @skip_if_server_version_lt("2.6.0") |
| 1626 | def test_bitop_not(self, r): |
| 1627 | test_str = b"\xaa\x00\xff\x55" |
| 1628 | correct = ~0xAA00FF55 & 0xFFFFFFFF |
| 1629 | r["a"] = test_str |
| 1630 | r.bitop("not", "r", "a") |
| 1631 | assert int(binascii.hexlify(r["r"]), 16) == correct |
| 1632 | |
| 1633 | @pytest.mark.onlynoncluster |
| 1634 | @skip_if_server_version_lt("2.6.0") |