Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BTrees
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
BTrees
Commits
432e9e8e
Commit
432e9e8e
authored
Oct 22, 2012
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge r121830 from /ZODB/branches/jim-python-btrees.
Tests still don't pass. :(
parent
25c7b027
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
217 additions
and
61 deletions
+217
-61
BTrees/___BTree.py
BTrees/___BTree.py
+211
-61
BTrees/tests/testBTrees.py
BTrees/tests/testBTrees.py
+6
-0
No files found.
BTrees/___BTree.py
View file @
432e9e8e
This diff is collapsed.
Click to expand it.
BTrees/tests/testBTrees.py
View file @
432e9e8e
...
@@ -1903,6 +1903,12 @@ class BTreeTests(MappingBase):
...
@@ -1903,6 +1903,12 @@ class BTreeTests(MappingBase):
self
.
assertEqual
(
str
(
detail
),
"the bucket being iterated "
self
.
assertEqual
(
str
(
detail
),
"the bucket being iterated "
"changed size"
)
"changed size"
)
break
break
except
KeyError
,
v
:
# The Python implementation behaves very differently and
# gives a key error in this situation. It can't mess up
# memory and can't readily detect changes to underlying buckets
# in any sane way.
self
.
assertEqual
(
str
(
v
),
str
(
k
[
0
]))
self
.
_checkIt
(
t
)
self
.
_checkIt
(
t
)
class
IIBTreeTest
(
BTreeTests
,
unittest
.
TestCase
):
class
IIBTreeTest
(
BTreeTests
,
unittest
.
TestCase
):
...
...
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