Home
last modified time | relevance | path

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

/aosp_15_r20/external/python/pyfakefs/pyfakefs/tests/
Dtest_utils.py29 from pyfakefs.helpers import is_byte_string, to_string
336 mode = "wb" if encoding is not None or is_byte_string(contents) else "w"
356 mode = "rb" if is_byte_string(contents) else "r"
/aosp_15_r20/external/python/pyfakefs/pyfakefs/
Dfake_os.py58 is_byte_string,
565 if not is_byte_string(value):
Dhelpers.py100 def is_byte_string(val: Any) -> bool: function