Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
7fa9aea5
Commit
7fa9aea5
authored
Dec 17, 2013
by
Gediminas Paulauskas
Committed by
Godefroid Chapelle
Mar 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a test broken by a change to randrange in Python 2.7.6
parent
209591e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/ZODB/tests/testUtils.py
src/ZODB/tests/testUtils.py
+3
-2
No files found.
src/ZODB/tests/testUtils.py
View file @
7fa9aea5
...
@@ -22,11 +22,12 @@ NUM = 100
...
@@ -22,11 +22,12 @@ NUM = 100
from
ZODB.utils
import
U64
,
p64
,
u64
from
ZODB.utils
import
U64
,
p64
,
u64
class
TestUtils
(
unittest
.
TestCase
):
class
TestUtils
(
unittest
.
TestCase
):
small
=
[
random
.
randrange
(
1
,
1
L
<<
32
,
int
=
long
)
small
=
[
random
.
randrange
(
1
,
1
<<
32
)
for
i
in
range
(
NUM
)]
for
i
in
range
(
NUM
)]
large
=
[
random
.
randrange
(
1
L
<<
32
,
1L
<<
64
,
int
=
long
)
large
=
[
random
.
randrange
(
1
<<
32
,
1
<<
64
)
for
i
in
range
(
NUM
)]
for
i
in
range
(
NUM
)]
all
=
small
+
large
all
=
small
+
large
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment