[Python-checkins] r81202 - in python/branches/release31-maint: Lib/test/test_signal.py
benjamin.peterson
python-checkins at python.org
Sat May 15 20:00:56 CEST 2010
Author: benjamin.peterson
Date: Sat May 15 20:00:56 2010
New Revision: 81202
Log:
Merged revisions 81201 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r81201 | benjamin.peterson | 2010-05-15 12:52:12 -0500 (Sat, 15 May 2010) | 9 lines
Merged revisions 81200 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81200 | benjamin.peterson | 2010-05-15 12:48:55 -0500 (Sat, 15 May 2010) | 1 line
use TestCase skip method
........
................
Modified:
python/branches/release31-maint/ (props changed)
python/branches/release31-maint/Lib/test/test_signal.py
Modified: python/branches/release31-maint/Lib/test/test_signal.py
==============================================================================
--- python/branches/release31-maint/Lib/test/test_signal.py (original)
+++ python/branches/release31-maint/Lib/test/test_signal.py Sat May 15 20:00:56 2010
@@ -431,8 +431,8 @@
if signal.getitimer(self.itimer) == (0.0, 0.0):
break # sig_vtalrm handler stopped this itimer
else: # Issue 8424
- raise unittest.SkipTest("timeout: likely cause: machine too slow "
- "or load too high")
+ self.skipTest("timeout: likely cause: machine too slow or load too "
+ "high")
# virtual itimer should be (0.0, 0.0) now
self.assertEquals(signal.getitimer(self.itimer), (0.0, 0.0))
@@ -454,8 +454,8 @@
if signal.getitimer(self.itimer) == (0.0, 0.0):
break # sig_prof handler stopped this itimer
else: # Issue 8424
- raise unittest.SkipTest("timeout: likely cause: machine too slow "
- "or load too high")
+ self.skipTest("timeout: likely cause: machine too slow or load too "
+ "high")
# profiling itimer should be (0.0, 0.0) now
self.assertEquals(signal.getitimer(self.itimer), (0.0, 0.0))
More information about the Python-checkins
mailing list