Home
last modified time | relevance | path

Searched refs:is_byte_string (Results 1 – 3 of 3) sorted by relevance

/external/python/pyfakefs/pyfakefs/tests/
Dtest_utils.py28 from pyfakefs.helpers import is_byte_string, to_string
296 mode = ('wb' if encoding is not None or is_byte_string(contents)
317 mode = 'rb' if is_byte_string(contents) else 'r'
/external/python/pyfakefs/pyfakefs/
Dhelpers.py34 def is_byte_string(val): function
300 if is_byte_string(contents):
404 if self.binary != is_byte_string(s):
Dfake_filesystem.py114 is_int_type, is_byte_string, is_unicode_string,
3855 if not is_byte_string(value):
4573 if is_byte_string(contents) else
4652 if not self._io.binary and is_byte_string(contents):