[Zope3-checkins] SVN: zope.formlib/trunk/ Adapt tests for Python 2.5 output.

Hanno Schlichting plone at hannosch.info
Sat Feb 21 07:19:39 EST 2009


Log message for revision 96898:
  Adapt tests for Python 2.5 output.
  

Changed:
  U   zope.formlib/trunk/CHANGES.txt
  U   zope.formlib/trunk/src/zope/formlib/tests.py

-=-
Modified: zope.formlib/trunk/CHANGES.txt
===================================================================
--- zope.formlib/trunk/CHANGES.txt	2009-02-21 12:05:11 UTC (rev 96897)
+++ zope.formlib/trunk/CHANGES.txt	2009-02-21 12:19:39 UTC (rev 96898)
@@ -5,7 +5,7 @@
 3.5.2 (unreleased)
 ==================
 
-- ...
+- Adapt tests for Python 2.5 output.
 
 3.5.1 (2009-01-31)
 ==================

Modified: zope.formlib/trunk/src/zope/formlib/tests.py
===================================================================
--- zope.formlib/trunk/src/zope/formlib/tests.py	2009-02-21 12:05:11 UTC (rev 96897)
+++ zope.formlib/trunk/src/zope/formlib/tests.py	2009-02-21 12:19:39 UTC (rev 96898)
@@ -526,7 +526,7 @@
 def test_suite():
     from zope.testing import doctest
     checker = zope.testing.renormalizing.RENormalizing([
-      (re.compile(r"\[WidgetInputError\('form.summary', 'summary', A error message\)\]"),
+      (re.compile(r"\[WidgetInputError\('form.summary', 'summary', ValidationError\('A error message'\)\)\]"),
                   r"[<zope.app.form.interfaces.WidgetInputError instance at ...>]"),
       (re.compile(r"\[WidgetInputError\('summary', u'Summary', None\)\]"),
                   r"[<zope.app.form.interfaces.WidgetInputError instance at ...>]"),



More information about the Zope3-Checkins mailing list