Implement doctests for single and double quotes
input_stream's type IOBase -> RawIOBase

io.IOBase doesn't declare a read method, which is used by Token and its subclasses.