[Checkins] SVN: zope.testing/branches/nikhil_n-py25/src/zope/testing/testrunner.py added more renormaliser rules for Python 2.5 to work

nikhil n nikhil.n.n at gmail.com
Mon May 21 09:26:04 EDT 2007


Log message for revision 75861:
  added more renormaliser rules for Python 2.5 to work

Changed:
  U   zope.testing/branches/nikhil_n-py25/src/zope/testing/testrunner.py

-=-
Modified: zope.testing/branches/nikhil_n-py25/src/zope/testing/testrunner.py
===================================================================
--- zope.testing/branches/nikhil_n-py25/src/zope/testing/testrunner.py	2007-05-21 13:24:05 UTC (rev 75860)
+++ zope.testing/branches/nikhil_n-py25/src/zope/testing/testrunner.py	2007-05-21 13:26:03 UTC (rev 75861)
@@ -1963,6 +1963,9 @@
                     r'exceptions.\1Error:'),
 
         (re.compile('^> [^\n]+->None$', re.M), '> ...->None'),
+        (re.compile(r"<module>"),(r'?')),
+        (re.compile(r"<type 'exceptions.(\w+)Error'>:"),
+                    r'exceptions.\1Error:'),
         (re.compile("'[A-Za-z]:\\\\"), "'"), # hopefully, we'll make Windows happy
         (re.compile(r'\\\\'), '/'), # more Windows happiness
         (re.compile(r'\\'), '/'), # even more Windows happiness



More information about the Checkins mailing list