[Checkins] SVN: z3c.schema/trunk/ - Updated tests to run with `zope.schema` >= 3.6, thus requiring at least this version.

Michael Howitz mh at gocept.com
Mon Oct 18 03:50:46 EDT 2010


Log message for revision 117618:
  - Updated tests to run with `zope.schema` >= 3.6, thus requiring at least this version.
  

Changed:
  U   z3c.schema/trunk/CHANGES.txt
  U   z3c.schema/trunk/setup.py
  U   z3c.schema/trunk/src/z3c/schema/email/README.txt
  U   z3c.schema/trunk/src/z3c/schema/ip/README.txt

-=-
Modified: z3c.schema/trunk/CHANGES.txt
===================================================================
--- z3c.schema/trunk/CHANGES.txt	2010-10-18 07:49:12 UTC (rev 117617)
+++ z3c.schema/trunk/CHANGES.txt	2010-10-18 07:50:45 UTC (rev 117618)
@@ -5,7 +5,8 @@
 0.6.2 (unreleased)
 ------------------
 
-- Nothing changed yet.
+- Updated tests to run with `zope.schema` >= 3.6, thus requiring at least
+  this version.
 
 
 0.6.1 (2010-10-18)

Modified: z3c.schema/trunk/setup.py
===================================================================
--- z3c.schema/trunk/setup.py	2010-10-18 07:49:12 UTC (rev 117617)
+++ z3c.schema/trunk/setup.py	2010-10-18 07:50:45 UTC (rev 117618)
@@ -68,7 +68,7 @@
       'setuptools',
       'zope.i18nmessageid',
       'zope.interface',
-      'zope.schema',
+      'zope.schema >= 3.6',
       ],
     zip_safe=False,
 )

Modified: z3c.schema/trunk/src/z3c/schema/email/README.txt
===================================================================
--- z3c.schema/trunk/src/z3c/schema/email/README.txt	2010-10-18 07:49:12 UTC (rev 117617)
+++ z3c.schema/trunk/src/z3c/schema/email/README.txt	2010-10-18 07:50:45 UTC (rev 117618)
@@ -21,7 +21,7 @@
   >>> email.validate('foo at bar.com')
   Traceback (most recent call last):
   ...
-  WrongType: ('foo at bar.com', <type 'unicode'>)
+  WrongType: ('foo at bar.com', <type 'unicode'>, '')
 
   >>> email.validate(u'foo at bar.')
   Traceback (most recent call last):

Modified: z3c.schema/trunk/src/z3c/schema/ip/README.txt
===================================================================
--- z3c.schema/trunk/src/z3c/schema/ip/README.txt	2010-10-18 07:49:12 UTC (rev 117617)
+++ z3c.schema/trunk/src/z3c/schema/ip/README.txt	2010-10-18 07:50:45 UTC (rev 117618)
@@ -13,7 +13,7 @@
   >>> myip.validate(u'10.0.0.1')
   Traceback (most recent call last):
   ...
-  WrongType: (u'10.0.0.1', <type 'str'>)
+  WrongType: (u'10.0.0.1', <type 'str'>, '')
 
   >>> myip.validate('12.123.231.wee')
   Traceback (most recent call last):



More information about the checkins mailing list