diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-06-17 19:51:56 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-06-17 19:51:56 (GMT) |
commit | 91f9bdd773eb62cbac50880c7f87bd2dd725a3e8 (patch) | |
tree | a7a5a1a873b9102e0930b9495a2346b963b76b08 /Lib | |
parent | 934676afba749fdaede4602936abb9495bdfcd0f (diff) | |
download | cpython-91f9bdd773eb62cbac50880c7f87bd2dd725a3e8.zip cpython-91f9bdd773eb62cbac50880c7f87bd2dd725a3e8.tar.gz cpython-91f9bdd773eb62cbac50880c7f87bd2dd725a3e8.tar.bz2 |
Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX
sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on
AIX.
Diffstat (limited to 'Lib')
-rw-r--r-- | 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 index 99243df..1ef7643 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): |