[Python-checkins] cpython (merge 3.3 -> default): (Merge 3.3) Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX

victor.stinner python-checkins at python.org
Mon Jun 17 21:54:19 CEST 2013


http://hg.python.org/cpython/rev/8e277e6bd11b
changeset:   84194:8e277e6bd11b
parent:      84192:6cbd992d3411
parent:      84193:a0e234e10da6
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Jun 17 21:52:24 2013 +0200
summary:
  (Merge 3.3) Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX

sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on
AIX.

files:
  Lib/test/test_signal.py |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -702,6 +702,10 @@
 
     @unittest.skipUnless(hasattr(signal, 'sigwaitinfo'),
                          'need signal.sigwaitinfo()')
+    # Issue #18238: sigwaitinfo() can be interrupted on Linux (raises
+    # InterruptedError), but not on AIX
+    @unittest.skipIf(sys.platform.startswith("aix"),
+                     'signal.sigwaitinfo() cannot be interrupted on AIX')
     def test_sigwaitinfo_interrupted(self):
         self.wait_helper(signal.SIGUSR1, '''
         def test(signum):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list