mirror of
https://github.com/python/cpython.git
synced 2024-12-30 12:15:27 +08:00
When not optimized function stack sizes are much larger and may cause this test to fail.
This commit is contained in:
parent
4604980854
commit
d541d3fee4
@ -753,7 +753,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
Block a user