[Checkins] SVN: zc.relationship/trunk/src/zc/relationship/README.txt Fix test bug: keys are required to be integers (and not longs). In some

Benji York benji at zope.com
Tue Jan 16 10:05:27 EST 2007


Log message for revision 72055:
  Fix test bug: keys are required to be integers (and not longs).  In some
  circumstances on Python 2.4.4 -2147483647 is a non-long int, but in (some
  flavors of) 2.4.3 it is a long, causing the tests to fail.
  

Changed:
  U   zc.relationship/trunk/src/zc/relationship/README.txt

-=-
Modified: zc.relationship/trunk/src/zc/relationship/README.txt
===================================================================
--- zc.relationship/trunk/src/zc/relationship/README.txt	2007-01-16 13:45:35 UTC (rev 72054)
+++ zc.relationship/trunk/src/zc/relationship/README.txt	2007-01-16 15:05:26 UTC (rev 72055)
@@ -201,7 +201,7 @@
 followed by the methods we'll use for the 'relationshiptypes' tokens.
 
     >>> lookup = {}
-    >>> counter = [-2147483648]
+    >>> counter = [-2147483647]
     >>> prefix = '_z_token__'
     >>> def dump(obj, index, cache):
     ...     assert (interfaces.IIndex.providedBy(index) and



More information about the Checkins mailing list