equal
deleted
inserted
replaced
1217 def refpath(self): |
1217 def refpath(self): |
1218 return os.path.join(self._testdir, b'%s.out' % self.bname) |
1218 return os.path.join(self._testdir, b'%s.out' % self.bname) |
1219 |
1219 |
1220 def _run(self, env): |
1220 def _run(self, env): |
1221 py3switch = self._py3warnings and b' -3' or b'' |
1221 py3switch = self._py3warnings and b' -3' or b'' |
1222 cmd = b'%s%s "%s"' % (PYTHON, py3switch, self.path) |
1222 # Quote the python(3) executable for Windows |
|
1223 cmd = b'"%s"%s "%s"' % (PYTHON, py3switch, self.path) |
1223 vlog("# Running", cmd) |
1224 vlog("# Running", cmd) |
1224 normalizenewlines = os.name == 'nt' |
1225 normalizenewlines = os.name == 'nt' |
1225 result = self._runcommand(cmd, env, |
1226 result = self._runcommand(cmd, env, |
1226 normalizenewlines=normalizenewlines) |
1227 normalizenewlines=normalizenewlines) |
1227 if self._aborted: |
1228 if self._aborted: |