Commit 7fa9aea5 authored by Gediminas Paulauskas's avatar Gediminas Paulauskas Committed by Godefroid Chapelle

Fix a test broken by a change to randrange in Python 2.7.6

parent 209591e2
......@@ -22,11 +22,12 @@ NUM = 100
from ZODB.utils import U64, p64, u64
class TestUtils(unittest.TestCase):
small = [random.randrange(1, 1L<<32, int=long)
small = [random.randrange(1, 1<<32)
for i in range(NUM)]
large = [random.randrange(1L<<32, 1L<<64, int=long)
large = [random.randrange(1<<32, 1<<64)
for i in range(NUM)]
all = small + large
......
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