[Zope-Checkins] SVN: Zope/trunk/test.py _handle_problem(): If -p is passed, unittest displayed "OK"

Tim Peters tim.one at comcast.net
Thu Apr 7 15:58:42 EDT 2005


Log message for revision 29900:
  _handle_problem():  If -p is passed, unittest displayed "OK"
  at the end even if there were test failures and/or errors, and
  didn't display any failure/error tracebacks at the end.  Now it
  reports failures/errors at the end the same as when -p isn't
  passed.
  

Changed:
  U   Zope/trunk/test.py

-=-
Modified: Zope/trunk/test.py
===================================================================
--- Zope/trunk/test.py	2005-04-07 17:44:44 UTC (rev 29899)
+++ Zope/trunk/test.py	2005-04-07 19:58:42 UTC (rev 29900)
@@ -278,8 +278,7 @@
         elif self.dots:
             self.stream.write(prefix[0])
             
-        if not self._progress:
-            errlist.append((test, tb))
+        errlist.append((test, tb))
 
     def startTest(self, test):
         if self._progress:



More information about the Zope-Checkins mailing list