use new marking idioms, simplify generalized skipping implementation

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-10-22 18:37:24 +02:00
parent 4a76c096da
commit 861f34fe90
7 changed files with 40 additions and 62 deletions

View File

@@ -1,6 +1,6 @@
import py, sys, os
skipif = "not hasattr(os, 'fork')"
pytestmark = py.test.mark.skipif("not hasattr(os, 'fork')")
def test_waitfinish_removes_tempdir():
ff = py.process.ForkedFunc(boxf1)