Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
python-ZODB
fix-for-upstream-test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-for-upstream-test.patch of Package python-ZODB
diff --git a/src/ZODB/tests/testUtils.py b/src/ZODB/tests/testUtils.py index bc3d089..17803cc 100644 --- a/src/ZODB/tests/testUtils.py +++ b/src/ZODB/tests/testUtils.py @@ -20,7 +20,7 @@ from persistent import Persistent from zope.testing import renormalizing from ZODB.utils import U64, p64, u64 -from ZODB._compat import loads, long +from ZODB._compat import loads NUM = 100 @@ -35,9 +35,9 @@ checker = renormalizing.RENormalizing([ class TestUtils(unittest.TestCase): - small = [random.randrange(1, 1<<32, int=long) + small = [random.randrange(1, 1<<32) for i in range(NUM)] - large = [random.randrange(1<<32, 1<<64, int=long) + large = [random.randrange(1<<32, 1<<64) for i in range(NUM)] all = small + large
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor