568
579
class ExecTests(unittest.TestCase):
569
582
def test_execvpe_with_bad_program(self):
570
self.assertRaises(OSError, os.execvpe, 'no such app-', ['no such app-'], None)
583
self.assertRaises(OSError, os.execvpe, 'no such app-',
572
586
def test_execvpe_with_bad_arglist(self):
573
587
self.assertRaises(ValueError, os.execvpe, 'notepad', [], None)