From 91f9bdd773eb62cbac50880c7f87bd2dd725a3e8 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 17 Jun 2013 21:51:56 +0200 Subject: [PATCH] Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on AIX. --- Lib/test/test_signal.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index 99243dffe10..1ef76433244 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -705,6 +705,10 @@ class PendingSignalsTests(unittest.TestCase): @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):