internal: always use scripts found in the environment
--HG-- branch : trunk
This commit is contained in:
parent
2752168a58
commit
b62978a88f
|
@ -307,13 +307,8 @@ class TmpTestdir:
|
|||
return self.run(*fullargs)
|
||||
|
||||
def _getpybinargs(self, scriptname):
|
||||
bindir = py._dir.dirpath('bin')
|
||||
if not bindir.check():
|
||||
script = py.path.local.sysfind(scriptname)
|
||||
else:
|
||||
script = bindir.join(scriptname)
|
||||
assert script.check()
|
||||
return py.std.sys.executable, script
|
||||
script = py.path.local.sysfind(scriptname)
|
||||
return script,
|
||||
|
||||
def runpython(self, script):
|
||||
return self.run(py.std.sys.executable, script)
|
||||
|
|
Loading…
Reference in New Issue