[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:
hpk
2009-03-18 20:23:38 +01:00
parent f013f0a54b
commit 5f25395cdd
4 changed files with 33 additions and 14 deletions

View File

@@ -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-",