[Zope-CVS] CVS: Packages/TestScripts - autotester.py:1.22
Fred L. Drake, Jr.
fred@zope.com
Wed, 26 Feb 2003 14:05:42 -0500
Update of /cvs-repository/Packages/TestScripts
In directory cvs.zope.org:/tmp/cvs-serv6016
Modified Files:
autotester.py
Log Message:
Spell out the re.compile() option bits to be more readable.
=== Packages/TestScripts/autotester.py 1.21 => 1.22 ===
--- Packages/TestScripts/autotester.py:1.21 Wed Feb 26 13:01:36 2003
+++ Packages/TestScripts/autotester.py Wed Feb 26 14:05:41 2003
@@ -77,8 +77,8 @@
# regular expressions used to check the results:
failed_re = re.compile('FAILED \((?:failures=(\d+))?(?:, )?(?:errors=(\d+))?')
-other_errors_re = re.compile('error|warning', re.I)
-success_re = re.compile('^OK$', re.M)
+other_errors_re = re.compile('error|warning', re.IGNORECASE)
+success_re = re.compile('^OK$', re.MULTILINE)
try: # catch-all for death and badness
for scenario in config['scenario']: