[py-svn] r36996 - py/branch/config/py/test/rsession/testing
fijal at codespeak.net
fijal at codespeak.net
Fri Jan 19 15:19:58 CET 2007
Author: fijal
Date: Fri Jan 19 15:19:57 2007
New Revision: 36996
Modified:
py/branch/config/py/test/rsession/testing/test_slave.py
Log:
Skip test if platform does not support os.fork
Modified: py/branch/config/py/test/rsession/testing/test_slave.py
==============================================================================
--- py/branch/config/py/test/rsession/testing/test_slave.py (original)
+++ py/branch/config/py/test/rsession/testing/test_slave.py Fri Jan 19 15:19:57 2007
@@ -223,6 +223,8 @@
def test_pidinfo():
+ if not hasattr(os, 'fork') or not hasattr(os, 'waitpid'):
+ py.test.skip("Platform does not support fork")
pidinfo = PidInfo()
pid = os.fork()
if pid:
More information about the pytest-commit
mailing list