Searched refs:file_or_bytes (Results 1 – 1 of 1) sorted by relevance
84 def __init__(self, file_or_bytes=LIBCORE_DIR / 'EXPECTED_UPSTREAM'): argument85 if isinstance(file_or_bytes, Path):86 path = Path(file_or_bytes)89 elif isinstance(file_or_bytes, bytes):90 self.openable = lambda mode: io.StringIO(file_or_bytes.decode('utf-8'))