Commit a3811ad1 authored by Shane Hathaway's avatar Shane Hathaway

fixed a 64 bit test failure: coerce numbers to long

parent b5ec6339
...@@ -64,7 +64,7 @@ To assure that we get a new tid that is later than the old, we can ...@@ -64,7 +64,7 @@ To assure that we get a new tid that is later than the old, we can
pass an existing tid. Let's pass the tid we just got. pass an existing tid. Let's pass the tid we just got.
>>> tid2 = ZODB.utils.newTid(tid) >>> 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) (250347764454864008L, 250347764454864009L)
Here, since we called it at the same time, we got a time stamp that Here, since we called it at the same time, we got a time stamp that
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment