[Python-checkins] r82124 - python/branches/py3k-signalfd-issue8407/Lib/test/test_signal.py
jean-paul.calderone
python-checkins at python.org
Mon Jun 21 02:50:31 CEST 2010
Author: jean-paul.calderone
Date: Mon Jun 21 02:50:31 2010
New Revision: 82124
Log:
ha ha
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:50:31 2010
@@ -627,21 +627,21 @@
sigmask list passed to that call, information about the signal can be
read from the fd returned by that call.
"""
- print 'a'
+ print('a')
fd = self.signalfd(-1, [signal.SIGUSR2])
- print 'b'
+ print('b')
self.addCleanup(os.close, fd)
- print 'c'
+ print('c')
previous = signal.sigprocmask(signal.SIG_BLOCK, [signal.SIGUSR2])
- print 'd'
+ print('d')
self.addCleanup(signal.sigprocmask, signal.SIG_SETMASK, previous)
- print 'e'
+ print('e')
os.kill(os.getpid(), signal.SIGUSR2)
- print 'f'
+ print('f')
bytes = os.read(fd, 128)
- print 'g'
+ print('g')
self.assertTrue(bytes)
- print 'h'
+ print('h')
@unittest.skipIf(getattr(signal, 'SFD_CLOEXEC', None) is None,
More information about the Python-checkins
mailing list