[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/utils.txt fixed a 64 bit test failure: coerce numbers to long

Shane Hathaway shane at hathawaymix.org
Tue Dec 9 20:19:32 EST 2008


Log message for revision 93831:
  fixed a 64 bit test failure: coerce numbers to long
  

Changed:
  U   ZODB/trunk/src/ZODB/utils.txt

-=-
Modified: ZODB/trunk/src/ZODB/utils.txt
===================================================================
--- ZODB/trunk/src/ZODB/utils.txt	2008-12-09 22:42:40 UTC (rev 93830)
+++ ZODB/trunk/src/ZODB/utils.txt	2008-12-10 01:19:32 UTC (rev 93831)
@@ -64,7 +64,7 @@
 pass an existing tid.  Let's pass the tid we just got.
 
     >>> tid2 = ZODB.utils.newTid(tid)
-    >>> ZODB.utils.u64(tid), ZODB.utils.u64(tid2)
+    >>> long(ZODB.utils.u64(tid)), long(ZODB.utils.u64(tid2))
     (250347764454864008L, 250347764454864009L)
 
 Here, since we called it at the same time, we got a time stamp that



More information about the Zodb-checkins mailing list