def test_CheckBinary(self): with (test_support.check_warnings() if sys.version_info[0] >= 3 else test_support.check_py3k_warnings()): b = sqlite.Binary( chr(0).encode() + b"'" if sys.version_info[0] >= 3 else chr(0) + b"'")
def test_CheckBinary(self): with test_support.check_py3k_warnings(): b = sqlite.Binary(chr(0) + "'")