Pass bytes through unchanged.
| 11 | text_type = str if PY3 else unicode |
| 12 | |
| 13 | class _NullCoder(object): |
| 14 | """Pass bytes through unchanged.""" |
| 15 | @staticmethod |
| 16 | def encode(b, final=False): |
| 17 | return b |
| 18 | |
| 19 | @staticmethod |
| 20 | def decode(b, final=False): |
| 21 | return b |
| 22 | |
| 23 | class SpawnBase(object): |
| 24 | """A base class providing the backwards-compatible spawn API for Pexpect. |
no outgoing calls
no test coverage detected
searching dependent graphs…