[Zope-Checkins] CVS: Zope3/lib/python/Zope/Testing - __init__.py:1.3.38.6

Casey Duncan casey@zope.com
Wed, 3 Apr 2002 15:43:43 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Testing
In directory cvs.zope.org:/tmp/cvs-serv365/lib/python/Zope/Testing

Modified Files:
      Tag: Zope-3x-branch
	__init__.py 
Log Message:
Zope configuration now uses Shane's nifty traceback supplements to sprinkle
helpful debug info into exceptions that occur during configuration processing,
rather than masking them with a single generic configuration exception. 

Exception formatting is now turned on during testing, and when config is run
at startup.


=== Zope3/lib/python/Zope/Testing/__init__.py 1.3.38.5 => 1.3.38.6 ===
     traceback.format_exception = format_exception
 
-if os.environ.get('NEW_EXCEPTION_FORMATTER', 0):
+# Use the new exception formatter by default, its useful!
+if os.environ.get('NEW_EXCEPTION_FORMATTER', 1):
     patchTracebackModule()