diff options
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): |