[Checkins] SVN: manuel/trunk/src/manuel/testing.py make zope.testing's testrunner recognized the enhanced, doctest-style

Benji York benji at zope.com
Fri May 1 09:00:29 EDT 2009


Log message for revision 99644:
  make zope.testing's testrunner recognized the enhanced, doctest-style
  errors generated by Manuel
  

Changed:
  U   manuel/trunk/src/manuel/testing.py

-=-
Modified: manuel/trunk/src/manuel/testing.py
===================================================================
--- manuel/trunk/src/manuel/testing.py	2009-05-01 12:59:18 UTC (rev 99643)
+++ manuel/trunk/src/manuel/testing.py	2009-05-01 13:00:29 UTC (rev 99644)
@@ -33,7 +33,7 @@
         results = [r.formatted for r in self.document if r.formatted]
         if results:
             DIVIDER = '-'*70 + '\n'
-            raise self.failureException(
+            raise doctest.DocTestFailureException(
                 '\n' + DIVIDER + DIVIDER.join(results))
 
     def debug(self):



More information about the Checkins mailing list