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

@@ -218,7 +218,8 @@ class TestExecutionNonForked(BaseFunctionalTests):
py.test.fail("did not raise")
class TestExecutionForked(BaseFunctionalTests):
skipif = "not hasattr(os, 'fork')"
pytestmark = py.test.mark.skipif("not hasattr(os, 'fork')")
def getrunner(self):
return runner.forked_run_report