Lines Matching full:sys
13 import sys
287 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
292 sys.stdout.write(out)
293 sys.stderr.write(err)
323 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
328 sys.stdout.write(out)
329 sys.stderr.write(err)
359 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
364 sys.stdout.write(out)
365 sys.stderr.write(err)
382 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
391 sys.stdout.write(out)
392 sys.stderr.write(err)
416 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
421 sys.stdout.write(out)
422 sys.stderr.write(err)
436 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
441 sys.stdout.write(out)
442 sys.stderr.write(err)
458 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
463 sys.stdout.write(out)
464 sys.stderr.write(err)
477 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
491 with mock.patch.object(sys, 'argv', [sys.argv[0]] + args), \
498 sys.stdout.write(out)
499 sys.stderr.write(err)