[Zope-Checkins] CVS: Zope3/lib/python/Zope/Exceptions/tests - testExceptionFormatter.py:1.1.2.5

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


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

Modified Files:
      Tag: Zope-3x-branch
	testExceptionFormatter.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/Exceptions/tests/testExceptionFormatter.py 1.1.2.4 => 1.1.2.5 ===
     t, v, b = sys.exc_info()
     try:
-        return ''.join(format_exception(t, v, b, as_html))
+        return ''.join(format_exception(t, v, b, as_html=as_html))
     finally:
         del b