mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX
sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on AIX.
This commit is contained in:
parent
934676afba
commit
91f9bdd773
1 changed files with 4 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue