Home | History | Annotate | Download | only in test

Lines Matching refs:prog_name

21         self.prog_name = 'bogus_program_xxxx'
43 test.test_support.unlink(self.prog_name)
44 self.assertIsNone(_osx_support._find_executable(self.prog_name))
45 self.addCleanup(test.test_support.unlink, self.prog_name)
46 with open(self.prog_name, 'w') as f:
48 os.chmod(self.prog_name, stat.S_IRWXU)
49 self.assertEqual(self.prog_name,
50 _osx_support._find_executable(self.prog_name))
56 test.test_support.unlink(self.prog_name)
57 self.addCleanup(test.test_support.unlink, self.prog_name)
58 with open(self.prog_name, 'w') as f:
60 os.chmod(self.prog_name, stat.S_IRWXU)
62 _osx_support._read_output(self.prog_name))