cpython: 60b1ab4d0cd4 (original) (raw)

Mercurial > cpython

changeset 70756:60b1ab4d0cd4

Issue #8407: skip sigwait() tests if pthread_sigmask() is missing The new tests now requires pthread_sigmask(). Skip the test if the function is missing, e.g. if Python is compiled without threads. [#8407]

Victor Stinner victor.stinner@haypocalc.com
date Fri, 10 Jun 2011 14:02:10 +0200
parents 5a745404facf
children f89b42c35ceb
files Lib/test/test_signal.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-)[+] [-] Lib/test/test_signal.py 2

line wrap: on

line diff

--- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -598,6 +598,8 @@ class PendingSignalsTests(unittest.TestC with self.assertRaises(ZeroDivisionError): signal.pthread_kill(current, signum)