diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-18 08:19:48 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-18 08:19:48 (GMT) |
commit | 7d02d50504d52c4a24f6687c8bc7393aa5088c19 (patch) | |
tree | 47471236fa6b9c3c263eb157a8dc927e5f0edf72 /Lib | |
parent | 9141bff1446e6b73b2fb71a30c9c3446d7b90917 (diff) | |
download | cpython-7d02d50504d52c4a24f6687c8bc7393aa5088c19.zip cpython-7d02d50504d52c4a24f6687c8bc7393aa5088c19.tar.gz cpython-7d02d50504d52c4a24f6687c8bc7393aa5088c19.tar.bz2 |
Issue #20564: Skip tests on lock+signals on OpenBSD
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_threadsignals.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_threadsignals.py b/Lib/test/test_threadsignals.py index b1004e6..9d92742 100644 --- a/Lib/test/test_threadsignals.py +++ b/Lib/test/test_threadsignals.py @@ -74,6 +74,9 @@ class ThreadSignals(unittest.TestCase): @unittest.skipIf(USING_PTHREAD_COND, 'POSIX condition variables cannot be interrupted') + # Issue #20564: sem_timedwait() cannot be interrupted on OpenBSD + @unittest.skipIf(sys.platform.startswith('openbsd'), + 'lock cannot be interrupted on OpenBSD') def test_lock_acquire_interruption(self): # Mimic receiving a SIGINT (KeyboardInterrupt) with SIGALRM while stuck # in a deadlock. @@ -97,6 +100,9 @@ class ThreadSignals(unittest.TestCase): @unittest.skipIf(USING_PTHREAD_COND, 'POSIX condition variables cannot be interrupted') + # Issue #20564: sem_timedwait() cannot be interrupted on OpenBSD + @unittest.skipIf(sys.platform.startswith('openbsd'), + 'lock cannot be interrupted on OpenBSD') def test_rlock_acquire_interruption(self): # Mimic receiving a SIGINT (KeyboardInterrupt) with SIGALRM while stuck # in a deadlock. |