mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
backported rev 79713 from 3.4, test_recursion_limit skipped for -O0
This commit is contained in:
parent
fa608186b4
commit
20ea96f29a
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue