[Zope3-checkins] SVN: zope.testing/trunk/src/zope/testing/testrunner.py make some strings containing regex escapes "raw"

Benji York benji at zope.com
Sun Aug 14 20:13:41 EDT 2005


Log message for revision 37929:
  make some strings containing regex escapes "raw"
  

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	2005-08-14 16:28:55 UTC (rev 37928)
+++ zope.testing/trunk/src/zope/testing/testrunner.py	2005-08-15 00:13:11 UTC (rev 37929)
@@ -1149,11 +1149,11 @@
         (re.compile(r'\d+[.]\d\d\d ms'), 'N.NNN ms'),
         (re.compile('( |")[^\n]+testrunner-ex'), r'\1testrunner-ex'),
         (re.compile('( |")[^\n]+testrunner.py'), r'\1testrunner.py'),
-        (re.compile('> [^\n]*(doc|unit)test[.]py\(\d+\)'),
+        (re.compile(r'> [^\n]*(doc|unit)test[.]py\(\d+\)'),
                        r'\1doctest.py(NNN)'),
-        (re.compile('[.]py\(\d+\)'), r'.py(NNN)'),
-        (re.compile('[.]py:\d+'), r'.py:NNN'),
-        (re.compile(' line \d+,', re.IGNORECASE), r' Line NNN,'),
+        (re.compile(r'[.]py\(\d+\)'), r'.py(NNN)'),
+        (re.compile(r'[.]py:\d+'), r'.py:NNN'),
+        (re.compile(r' line \d+,', re.IGNORECASE), r' Line NNN,'),
 
         # omit traceback entries for unittest.py or doctest.py from
         # output:



More information about the Zope3-Checkins mailing list