backported rev 79713 from 3.4, test_recursion_limit skipped for -O0
This commit is contained in:
parent
fa608186b4
commit
20ea96f29a
|
@ -754,7 +754,8 @@ class ThreadingExceptionTests(BaseTestCase):
|
||||||
lock = threading.Lock()
|
lock = threading.Lock()
|
||||||
self.assertRaises(RuntimeError, lock.release)
|
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):
|
def test_recursion_limit(self):
|
||||||
# Issue 9670
|
# Issue 9670
|
||||||
# test that excessive recursion within a non-main thread causes
|
# test that excessive recursion within a non-main thread causes
|
||||||
|
|
Loading…
Reference in New Issue