[Python-checkins] r76185 - in python/branches/py3k: Lib/test/test_signal.py

mark.dickinson python-checkins at python.org
Mon Nov 9 21:08:57 CET 2009


Author: mark.dickinson
Date: Mon Nov  9 21:08:57 2009
New Revision: 76185

Log:
Merged revisions 76182 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76182 | mark.dickinson | 2009-11-09 19:54:51 +0000 (Mon, 09 Nov 2009) | 1 line
  
  Add extra information to a test_signal failure message to aid diagnosis of buildbot failure.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/test/test_signal.py

Modified: python/branches/py3k/Lib/test/test_signal.py
==============================================================================
--- python/branches/py3k/Lib/test/test_signal.py	(original)
+++ python/branches/py3k/Lib/test/test_signal.py	Mon Nov  9 21:08:57 2009
@@ -367,7 +367,9 @@
             if signal.getitimer(self.itimer) == (0.0, 0.0):
                 break # sig_vtalrm handler stopped this itimer
         else:
-            self.fail('timeout waiting for sig_vtalrm signal')
+            self.fail('timeout waiting for sig_vtalrm signal; '
+                      'signal.getitimer(self.itimer) gives: %s' %
+                       (signal.getitimer(self.itimer),))
 
         # virtual 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