Lines Matching full:sys
15 import sys
146 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
151 sys.stdout.write(out)
152 sys.stderr.write(err)
195 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
200 sys.stdout.write(out)
201 sys.stderr.write(err)
227 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
232 sys.stdout.write(out)
233 sys.stderr.write(err)
259 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
264 sys.stdout.write(out)
265 sys.stderr.write(err)
295 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
300 sys.stdout.write(out)
301 sys.stderr.write(err)
335 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
340 sys.stdout.write(out)
341 sys.stderr.write(err)
371 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
407 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
432 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
473 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
485 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
490 sys.stdout.write(out)
491 sys.stderr.write(err)
507 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
512 sys.stdout.write(out)
513 sys.stderr.write(err)