Searched refs:is_byte_string (Results 1 – 3 of 3) sorted by relevance
29 from pyfakefs.helpers import is_byte_string, to_string336 mode = "wb" if encoding is not None or is_byte_string(contents) else "w"356 mode = "rb" if is_byte_string(contents) else "r"
58 is_byte_string,565 if not is_byte_string(value):
100 def is_byte_string(val: Any) -> bool: function