[Checkins] SVN: zope.schema/trunk/src/zope/schema/ correct interface description

Christian Zagrodnick cz at gocept.com
Thu Jul 30 07:44:45 EDT 2009


Log message for revision 102375:
  correct interface description
  
  

Changed:
  U   zope.schema/trunk/src/zope/schema/interfaces.py
  U   zope.schema/trunk/src/zope/schema/tests/test_intfield.py

-=-
Modified: zope.schema/trunk/src/zope/schema/interfaces.py
===================================================================
--- zope.schema/trunk/src/zope/schema/interfaces.py	2009-07-30 09:58:35 UTC (rev 102374)
+++ zope.schema/trunk/src/zope/schema/interfaces.py	2009-07-30 11:44:45 UTC (rev 102375)
@@ -224,7 +224,7 @@
         )
 
     max = Field(
-        title=_(u"End of the range (excluding the value itself)"),
+        title=_(u"End of the range (including the value itself)"),
         required=False,
         default=None
         )

Modified: zope.schema/trunk/src/zope/schema/tests/test_intfield.py
===================================================================
--- zope.schema/trunk/src/zope/schema/tests/test_intfield.py	2009-07-30 09:58:35 UTC (rev 102374)
+++ zope.schema/trunk/src/zope/schema/tests/test_intfield.py	2009-07-30 11:44:45 UTC (rev 102375)
@@ -59,6 +59,7 @@
         field.validate(None)
         field.validate(5)
         field.validate(9)
+        field.validate(10)
 
         self.assertRaises(TooBig, field.validate, 11)
         self.assertRaises(TooBig, field.validate, 20)



More information about the Checkins mailing list