Searched refs:StringIO (Results 1 – 25 of 174) sorted by relevance
1234567
50 output = StringIO.new62 input = StringIO.new( "yada yada" ) # <- used to simulate $stdin63 output = StringIO.new88 output = StringIO.new89 input = StringIO.new( 'yada yada' )112 output = StringIO.new113 input = StringIO.new 'yada + yada'147 output = StringIO.new148 input = StringIO.new 'a+b'184 output = StringIO.new[all …]
9 from StringIO import StringIO38 stdout = StringIO()65 stdout = StringIO()90 stdout = StringIO()95 stdin=StringIO(input),116 stdout = StringIO()121 stdin=StringIO(input),144 stdout = StringIO()149 stdin=StringIO(input),175 stdout = StringIO()[all …]
44 f = io.StringIO(u'')49 f = io.StringIO(u"""PDDM-DEFINE foo( )61 f = io.StringIO(u"""91 f = io.StringIO(u"""119 f = io.StringIO(input_str)174 f = io.StringIO(input_str)186 f = io.StringIO(u"""230 f = io.StringIO(u"""243 f = io.StringIO(u"""276 f = io.StringIO(u"""[all …]
9 import StringIO91 input_file = StringIO.StringIO(EXPERIMENT_FILE_1)111 input_file = StringIO.StringIO(EXPERIMENT_FILE_2)124 input_file = StringIO.StringIO(EXPERIMENT_FILE_3)128 input_file = StringIO.StringIO(EXPERIMENT_FILE_1)
9 import StringIO40 input_file = StringIO.StringIO(EXPERIMENT_FILE_1)
23 import StringIO64 f = StringIO.StringIO(' ' * num_bytes)76 f = StringIO.StringIO(' ' * num_bytes)89 f = StringIO.StringIO(' ' * num_bytes)102 f = StringIO.StringIO()116 f = StringIO.StringIO(' ' * num_bytes)
19 from StringIO import StringIO34 my_rules = rules_parser.Rules(StringIO(r'''46 my_rules = rules_parser.Rules(StringIO(r'''67 self.assertRaises(Exception, rules_parser.Rules, StringIO(input_text))
6 import StringIO53 perf_stream = StringIO.StringIO(PERF_SCRIPT_OUTPUT)67 perf_stream = StringIO.StringIO(PERF_SCRIPT_OUTPUT)125 perf_stream = StringIO.StringIO("""
5 import StringIO69 perf_stream = StringIO.StringIO(PERF_SCRIPT_OUTPUT)75 codegen_stream = StringIO.StringIO(D8_CODEGEN_OUTPUT)
11 import StringIO28 out_file = StringIO.StringIO()42 out_file = StringIO.StringIO()57 out_file = StringIO.StringIO()73 out_file = StringIO.StringIO()104 out_file = StringIO.StringIO()120 out_file = StringIO.StringIO()
7 import StringIO74 stdout = StringIO.StringIO()75 stderr = StringIO.StringIO()168 stdout = StringIO.StringIO()169 stderr = StringIO.StringIO()
7 import StringIO22 stdout = StringIO.StringIO()23 stderr = StringIO.StringIO()
5 import StringIO6 str_io = StringIO.StringIO9 str_io = io.StringIO
8 import StringIO9 str_io = StringIO.StringIO12 str_io = io.StringIO
9 import StringIO10 str_io = StringIO.StringIO13 str_io = io.StringIO
17 from StringIO import StringIO as BytesIO18 from StringIO import StringIO21 from io import BytesIO, StringIO80 fp = StringIO(res.get_source(namepart))
29 import cStringIO as StringIO namespace54 self.data = StringIO.StringIO()107 self.data = StringIO.StringIO()
7 import StringIO275 output = StringIO.StringIO()276 error_output = StringIO.StringIO()415 stdout = StringIO.StringIO()416 stderr = StringIO.StringIO()
16 from StringIO import StringIO19 from StringIO import StringIO78 tb_stream = StringIO()182 sys.stdout = StringIO()183 sys.stderr = StringIO()218 self._stream = StringIO()
36 import StringIO48 input_io = cStringIO.StringIO(input_data)49 output_io = cStringIO.StringIO()