[Checkins] SVN: zope.testing/trunk/src/zope/testing/testrunner.py Fix all failing tests (I used to see four of them).

Marius Gedminas marius at pov.lt
Fri Jan 12 10:36:41 EST 2007


Log message for revision 71970:
  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.
  
  Merged from the mgedmin-fixes branch with
  
    svn merge -r 71948:71949 svn+ssh://svn.zope.org/repos/main/zope.testing/branches/mgedmin-fixes .
  
  

Changed:
  U   zope.testing/trunk/src/zope/testing/testrunner.py

-=-
Modified: zope.testing/trunk/src/zope/testing/testrunner.py
===================================================================
--- zope.testing/trunk/src/zope/testing/testrunner.py	2007-01-12 15:31:05 UTC (rev 71969)
+++ zope.testing/trunk/src/zope/testing/testrunner.py	2007-01-12 15:36:40 UTC (rev 71970)
@@ -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 Checkins mailing list