(self, **kws)
| 101 | self.pyexe = get_pythonexe() |
| 102 | |
| 103 | def check_nt(self, **kws): |
| 104 | s, o = exec_command.exec_command('cmd /C echo path=%path%') |
| 105 | assert_(s == 0) |
| 106 | assert_(o != '') |
| 107 | |
| 108 | s, o = exec_command.exec_command( |
| 109 | '"%s" -c "import sys;sys.stderr.write(sys.platform)"' % self.pyexe) |
| 110 | assert_(s == 0) |
| 111 | assert_(o == 'win32') |
| 112 | |
| 113 | def check_posix(self, **kws): |
| 114 | s, o = exec_command.exec_command("echo Hello", **kws) |