Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
d4fed453
Commit
d4fed453
authored
May 09, 2007
by
Gary Poster
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make BTree family test pass on 64 bit machines
parent
e3bae622
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/BTrees/tests/testBTrees.py
src/BTrees/tests/testBTrees.py
+5
-3
No files found.
src/BTrees/tests/testBTrees.py
View file @
d4fed453
...
...
@@ -1709,11 +1709,13 @@ class FamilyTest(TestCase):
self
.
assertRaises
(
TypeError
,
s
.
insert
,
BTrees
.
family32
.
minint
-
1
)
else
:
# 64 bit Python
s
.
insert
(
BTrees
.
family32
.
maxint
+
1
)
self
.
assert_
(
BTrees
.
family32
.
maxint
+
1
not
in
s
)
# yeah, it's len of 1 now...don't look...don't look...
self
.
assert_
(
BTrees
.
family32
.
maxint
+
1
not
in
list
(
s
))
# yeah, it's len of 1 now, and rolled over to the minint...
# don't look...don't look...
s
=
IOTreeSet
()
s
.
insert
(
BTrees
.
family32
.
minint
-
1
)
self
.
assert_
(
BTrees
.
family32
.
minint
-
1
not
in
s
)
self
.
assert_
(
BTrees
.
family32
.
minint
-
1
not
in
list
(
s
))
# similarly, this is a len of 1, rolling over to the maxint...
self
.
check_pickling
(
BTrees
.
family32
)
def
test64
(
self
):
...
...
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