[Zope3-checkins] SVN: zope.testing/trunk/src/zope/testing/doctest.py fix un-raw regex string

Benji York benji at zope.com
Sat Nov 19 10:56:17 EST 2005


Log message for revision 40247:
  fix un-raw regex string
  

Changed:
  U   zope.testing/trunk/src/zope/testing/doctest.py

-=-
Modified: zope.testing/trunk/src/zope/testing/doctest.py
===================================================================
--- zope.testing/trunk/src/zope/testing/doctest.py	2005-11-19 15:52:25 UTC (rev 40246)
+++ zope.testing/trunk/src/zope/testing/doctest.py	2005-11-19 15:56:16 UTC (rev 40247)
@@ -2113,7 +2113,7 @@
     _unittest_reportflags = flags
     return old
 
-_para_re = re.compile('\s*\n\s*\n\s*')
+_para_re = re.compile(r'\s*\n\s*\n\s*')
 def _unittest_count(docstring):
     words = 0
     count = 0



More information about the Zope3-Checkins mailing list