[Python-checkins] cpython (3.3): backported rev 79713 from 3.4, test_recursion_limit skipped for -O0
lukasz.langa
python-checkins at python.org
Wed Apr 24 01:32:39 CEST 2013
http://hg.python.org/cpython/rev/9755036c81d0
changeset: 83510:9755036c81d0
branch: 3.3
parent: 83508:44d764238f0d
user: Łukasz Langa <lukasz at langa.pl>
date: Wed Apr 24 01:29:26 2013 +0200
summary:
backported rev 79713 from 3.4, test_recursion_limit skipped for -O0
files:
Lib/test/test_threading.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -754,7 +754,8 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list