Kaydet (Commit) 20ea96f2 authored tarafından Łukasz Langa's avatar Łukasz Langa

backported rev 79713 from 3.4, test_recursion_limit skipped for -O0

üst fa608186
......@@ -754,7 +754,8 @@ class ThreadingExceptionTests(BaseTestCase):
lock = threading.Lock()
self.assertRaises(RuntimeError, lock.release)
@unittest.skipUnless(sys.platform == 'darwin', 'test macosx problem')
@unittest.skipUnless(sys.platform == 'darwin' and test.support.python_is_optimized(),
'test macosx problem')
def test_recursion_limit(self):
# Issue 9670
# test that excessive recursion within a non-main thread causes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment