[py-svn] r38508 - py/trunk/py/test/rsession/testing
hpk at codespeak.net
hpk at codespeak.net
Sun Feb 11 19:56:09 CET 2007
Author: hpk
Date: Sun Feb 11 19:56:08 2007
New Revision: 38508
Modified:
py/trunk/py/test/rsession/testing/test_boxing.py
Log:
skip signal detection tests for python < 2.4
(2.4 and 2.5 work apparently)
Modified: py/trunk/py/test/rsession/testing/test_boxing.py
==============================================================================
--- py/trunk/py/test/rsession/testing/test_boxing.py (original)
+++ py/trunk/py/test/rsession/testing/test_boxing.py Sun Feb 11 19:56:08 2007
@@ -38,8 +38,10 @@
def test_boxing_signal():
b = Box(example2.boxseg, config=config)
b.run()
- assert b.signal == 11
assert b.retval is None
+ if py.std.sys.version_info < (2,4):
+ py.test.skip("signal detection does not work with python prior 2.4")
+ assert b.signal == 11
def test_boxing_huge_data():
b = Box(example2.boxhuge, config=config)
@@ -88,4 +90,6 @@
par, pid = b.run(continuation=True)
os.kill(pid, 15)
par(pid)
+ if py.std.sys.version_info < (2,4):
+ py.test.skip("signal detection does not work with python prior 2.4")
assert b.signal == 15
More information about the pytest-commit
mailing list