diff options
Diffstat (limited to 'Lib/test/test_signal.py')
-rw-r--r-- | Lib/test/test_signal.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index 7a17043..35887ef 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -598,6 +598,8 @@ class PendingSignalsTests(unittest.TestCase): with self.assertRaises(ZeroDivisionError): signal.pthread_kill(current, signum) + @unittest.skipUnless(hasattr(signal, 'pthread_sigmask'), + 'need signal.pthread_sigmask()') def check_sigwait(self, test, signum): # sigwait must be called with the signal blocked: since the current # process might have several threads running, we fork() a child process |