[Zope3-checkins]
SVN: zope.testing/trunk/src/zope/testing/testrunner.py
Made one of the output-comparison regular expressions more
tolerant of
Jim Fulton
jim at zope.com
Fri Jul 1 14:45:09 EDT 2005
Log message for revision 30973:
Made one of the output-comparison regular expressions more tolerant of
slow machines when running the test runner's own tests.
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-07-01 17:41:38 UTC (rev 30972)
+++ zope.testing/trunk/src/zope/testing/testrunner.py 2005-07-01 18:45:07 UTC (rev 30973)
@@ -1102,7 +1102,7 @@
(re.compile('\\\\'), '/'), # hopefully, we'll make windows happy
(re.compile('/r'), '\\\\r'), # undo damage from previous
(re.compile(r'\r'), '\\\\r\n'),
- (re.compile(r'0[.]\d\d\d seconds'), '0.NNN seconds'),
+ (re.compile(r'\d[.]\d\d\d seconds'), 'N.NNN seconds'),
(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'),
More information about the Zope3-Checkins
mailing list