(self, r)
| 1633 | @pytest.mark.onlynoncluster |
| 1634 | @skip_if_server_version_lt("2.6.0") |
| 1635 | def test_bitop_not_in_place(self, r): |
| 1636 | test_str = b"\xaa\x00\xff\x55" |
| 1637 | correct = ~0xAA00FF55 & 0xFFFFFFFF |
| 1638 | r["a"] = test_str |
| 1639 | r.bitop("not", "a", "a") |
| 1640 | assert int(binascii.hexlify(r["a"]), 16) == correct |
| 1641 | |
| 1642 | @pytest.mark.onlynoncluster |
| 1643 | @skip_if_server_version_lt("2.6.0") |