def setup(self): fd, self.executable = tempfile.mkstemp(prefix='jtc-testsuite.') os.close(fd) os.chmod(self.executable, stat.S_IRWXU)