[Checkins] SVN: zope.testing/branches/wosc-doctest-finder/src/zope/testing/testrunner/options.py typos

Wolfgang Schnerring wosc at wosc.de
Mon Oct 5 07:05:51 EDT 2009


Log message for revision 104791:
  typos
  

Changed:
  U   zope.testing/branches/wosc-doctest-finder/src/zope/testing/testrunner/options.py

-=-
Modified: zope.testing/branches/wosc-doctest-finder/src/zope/testing/testrunner/options.py
===================================================================
--- zope.testing/branches/wosc-doctest-finder/src/zope/testing/testrunner/options.py	2009-10-05 10:46:41 UTC (rev 104790)
+++ zope.testing/branches/wosc-doctest-finder/src/zope/testing/testrunner/options.py	2009-10-05 11:05:51 UTC (rev 104791)
@@ -462,7 +462,7 @@
 parser.set_defaults(
     ignore_dir=['.svn', 'CVS', '{arch}', '.arch-ids', '_darcs'],
     tests_pattern='^tests$',
-    doctests_pattern='\.txt$'
+    doctests_pattern='\.txt$',
     at_level=1,
     test_file_pattern='^test',
     suite_name='test_suite',
@@ -559,7 +559,7 @@
     options.ignore_dir = dict([(d,1) for d in options.ignore_dir])
     options.test_file_pattern = re.compile(options.test_file_pattern).search
     options.tests_pattern = re.compile(options.tests_pattern).search
-    options.doctests_pattern = re.compile(options.tests_pattern).search
+    options.doctests_pattern = re.compile(options.doctests_pattern).search
     options.test = map(compile_filter, options.test or ('.'))
     options.module = map(compile_filter, options.module or ('.'))
 



More information about the checkins mailing list