[Zope3-checkins] SVN: zope.testing/branches/mgedmin-fixes/src/zope/testing/testrunner.py Fix all failing tests (I used to see four of them).

Marius Gedminas marius at pov.lt
Thu Jan 11 19:39:21 EST 2007


Log message for revision 71949:
  Fix all failing tests (I used to see four of them).
  
  My Python 2.4.4 includes
  
    File "unittest.py" ...
  
  in the tracebacks.  The existing renormalization pattern required extra
  characters between " and unittest.
  
  

Changed:
  U   zope.testing/branches/mgedmin-fixes/src/zope/testing/testrunner.py

-=-
Modified: zope.testing/branches/mgedmin-fixes/src/zope/testing/testrunner.py
===================================================================
--- zope.testing/branches/mgedmin-fixes/src/zope/testing/testrunner.py	2007-01-12 00:16:44 UTC (rev 71948)
+++ zope.testing/branches/mgedmin-fixes/src/zope/testing/testrunner.py	2007-01-12 00:39:20 UTC (rev 71949)
@@ -1896,7 +1896,7 @@
 
         # omit traceback entries for unittest.py or doctest.py from
         # output:
-        (re.compile(r'^ +File "[^\n]+(doc|unit)test.py", [^\n]+\n[^\n]+\n',
+        (re.compile(r'^ +File "[^\n]*(doc|unit)test.py", [^\n]+\n[^\n]+\n',
                     re.MULTILINE),
          r''),
         (re.compile('^> [^\n]+->None$', re.M), '> ...->None'),



More information about the Zope3-Checkins mailing list