Searched refs:bytes_types (Results 1 – 4 of 4) sorted by relevance
32 bytes_types = (bytes, bytearray) # Types acceptable as binary data variable40 if isinstance(s, bytes_types):153 if not isinstance(s, bytes_types):281 if not isinstance(b, bytes_types):
21 bytes_types = pickle.bytes_types variable2191 if isinstance(data, bytes_types):
43 bytes_types = (bytes, bytearray) variable1084 assert isinstance(key, bytes_types)1588 assert isinstance(res, bytes_types)
24 from pickle import bytes_types1839 self.assertIsInstance(s, bytes_types)