[svn r63051] be very careful when we cannot unpickle an
colitem because its parent can't collect the same way as on the sending side. (due to platform skips etc.) --HG-- branch : trunk
This commit is contained in:
@@ -234,10 +234,12 @@ class TmpTestdir:
|
||||
bindir = py.path.local(py.__file__).dirpath("bin")
|
||||
if py.std.sys.platform == "win32":
|
||||
script = bindir.join("win32", scriptname + ".cmd")
|
||||
assert script.check()
|
||||
return self.run(script, *args)
|
||||
else:
|
||||
script = bindir.join(scriptname)
|
||||
assert script.check()
|
||||
return self.run(py.std.sys.executable, script, *args)
|
||||
assert script.check()
|
||||
return self.run(py.std.sys.executable, script, *args)
|
||||
|
||||
def runpytest(self, *args):
|
||||
p = py.path.local.make_numbered_dir(prefix="runpytest-",
|
||||
|
||||
Reference in New Issue
Block a user