[Python-checkins] cpython: Issue #12868: Skip test_faulthandler.test_stack_overflow() on OpenBSD:

charles-francois.natali python-checkins at python.org
Thu Sep 1 23:07:26 CEST 2011


http://hg.python.org/cpython/rev/a29b72950795
changeset: 72167:a29b72950795
user: Charles-François Natali <neologix at free.fr>
date: Thu Sep 01 23:08:21 2011 +0200
summary:
 Issue #12868: Skip test_faulthandler.test_stack_overflow() on OpenBSD:
sigaltstack(2) doesn't work when linked with pthread.
files:
 Lib/test/test_faulthandler.py | 3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py
--- a/Lib/test/test_faulthandler.py
+++ b/Lib/test/test_faulthandler.py
@@ -174,6 +174,9 @@
 2,
 'xyz')
 
+ @unittest.skipIf(sys.platform.startswith('openbsd') and HAVE_THREADS,
+ "Issue #12868: sigaltstack() doesn't work on "
+ "OpenBSD if Python is compiled with pthread")
 @unittest.skipIf(not hasattr(faulthandler, '_stack_overflow'),
 'need faulthandler._stack_overflow()')
 def test_stack_overflow(self):
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /