[Python-checkins] r77696 - python/branches/py3k-cdecimal/Lib/test/decimal_tests.py
stefan.krah
python-checkins at python.org
Fri Jan 22 17:33:59 CET 2010
Author: stefan.krah
Date: Fri Jan 22 17:33:59 2010
New Revision: 77696
Log:
Disable threading tests for cdecimal.
Modified:
python/branches/py3k-cdecimal/Lib/test/decimal_tests.py
Modified: python/branches/py3k-cdecimal/Lib/test/decimal_tests.py
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/decimal_tests.py (original)
+++ python/branches/py3k-cdecimal/Lib/test/decimal_tests.py Fri Jan 22 17:33:59 2010
@@ -1236,6 +1236,10 @@
# Test the "threading isolation" of a Context. Also test changing
# the DefaultContext, which acts as a template for the thread-local
# contexts.
+
+ # XXX Must re-enable if compiled with USE_THREAD_LOCAL_STORAGE!
+ if HAVE_CDECIMAL: return
+
saveprec = DefaultContext.prec
DefaultContext.prec = 24
More information about the Python-checkins
mailing list