Searched refs:is_byte_string (Results 1 – 3 of 3) sorted by relevance
28 from pyfakefs.helpers import is_byte_string, to_string296 mode = ('wb' if encoding is not None or is_byte_string(contents)317 mode = 'rb' if is_byte_string(contents) else 'r'
34 def is_byte_string(val): function300 if is_byte_string(contents):404 if self.binary != is_byte_string(s):
114 is_int_type, is_byte_string, is_unicode_string,3855 if not is_byte_string(value):4573 if is_byte_string(contents) else4652 if not self._io.binary and is_byte_string(contents):