[Python-checkins] r82123 - python/branches/py3k-signalfd-issue8407/Lib/test/test_signal.py

jean-paul.calderone python-checkins at python.org
Mon Jun 21 02:25:17 CEST 2010


Author: jean-paul.calderone
Date: Mon Jun 21 02:25:16 2010
New Revision: 82123

Log:
Some debug helpers to see how far this test gets on the build slaves

Modified:
   python/branches/py3k-signalfd-issue8407/Lib/test/test_signal.py

Modified: python/branches/py3k-signalfd-issue8407/Lib/test/test_signal.py
==============================================================================
--- python/branches/py3k-signalfd-issue8407/Lib/test/test_signal.py	(original)
+++ python/branches/py3k-signalfd-issue8407/Lib/test/test_signal.py	Mon Jun 21 02:25:16 2010
@@ -627,13 +627,21 @@
         sigmask list passed to that call, information about the signal can be
         read from the fd returned by that call.
         """
+        print 'a'
         fd = self.signalfd(-1, [signal.SIGUSR2])
+        print 'b'
         self.addCleanup(os.close, fd)
+        print 'c'
         previous = signal.sigprocmask(signal.SIG_BLOCK, [signal.SIGUSR2])
+        print 'd'
         self.addCleanup(signal.sigprocmask, signal.SIG_SETMASK, previous)
+        print 'e'
         os.kill(os.getpid(), signal.SIGUSR2)
+        print 'f'
         bytes = os.read(fd, 128)
+        print 'g'
         self.assertTrue(bytes)
+        print 'h'
 
 
     @unittest.skipIf(getattr(signal, 'SFD_CLOEXEC', None) is None,


More information about the Python-checkins mailing list