Home | History | Annotate | Download | only in test

Lines Matching full:infile

37         """Returns the infile = ... line of code for the reader process.
42 'infile = io.FileIO(sys.stdin.fileno(), "rb")' %
80 writing a final newline and closing the infile pipe.
82 object named 'infile' and validate the result. This will be
99 'infile.close()'
145 'got = infile.{read_method_name}() ;'
192 """Returns the infile = ... line of code to make a BufferedReader."""
193 return ('import %s as io ;infile = io.open(sys.stdin.fileno(), "rb") ;'
194 'assert isinstance(infile, io.BufferedReader)' %
214 """Returns the infile = ... line of code to make a TextIOWrapper."""
216 'infile = io.open(sys.stdin.fileno(), "rt", newline=None) ;'
217 'assert isinstance(infile, io.TextIOWrapper)' %