(self, initial_bytes: bytes | bytearray = b"2")
| 29 | |
| 30 | class FakeRawIO(io.RawIOBase): |
| 31 | def __init__(self, initial_bytes: bytes | bytearray = b"2"): |
| 32 | super().__init__() |
| 33 | self._buf = bytearray(initial_bytes) |
| 34 | self._pos = 0 |
| 35 | self._closed = False |
| 36 | |
| 37 | # --- Capability flags --- |
| 38 | def readable(self) -> bool: |
nothing calls this directly
no outgoing calls
no test coverage detected