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
5095b414
Commit
5095b414
authored
Oct 18, 2012
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test breakage w/ ZODB.
parent
ba9263aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
BTrees/tests/testBTrees.py
BTrees/tests/testBTrees.py
+5
-2
No files found.
BTrees/tests/testBTrees.py
View file @
5095b414
...
@@ -2183,9 +2183,12 @@ class FamilyTest(unittest.TestCase):
...
@@ -2183,9 +2183,12 @@ class FamilyTest(unittest.TestCase):
self
.
failUnless
(
f1
is
family
)
self
.
failUnless
(
f1
is
family
)
self
.
failUnless
(
f2
is
family
)
self
.
failUnless
(
f2
is
family
)
class
InternalKeysMappingTest
(
unittest
.
TestCase
):
class
InternalKeysMappingTest
(
object
):
# There must not be any internal keys not in the BTree
# There must not be any internal keys not in the BTree
def
_makeOne
(
self
):
return
self
.
_getTargetClass
()()
def
add_key
(
self
,
tree
,
key
):
def
add_key
(
self
,
tree
,
key
):
tree
[
key
]
=
key
tree
[
key
]
=
key
...
@@ -2242,7 +2245,7 @@ class InternalKeysMappingTest(unittest.TestCase):
...
@@ -2242,7 +2245,7 @@ class InternalKeysMappingTest(unittest.TestCase):
transaction
.
abort
()
transaction
.
abort
()
db
.
close
()
db
.
close
()
class
InternalKeysSetTest
:
class
InternalKeysSetTest
(
object
)
:
# There must not be any internal keys not in the TreeSet
# There must not be any internal keys not in the TreeSet
def
add_key
(
self
,
tree
,
key
):
def
add_key
(
self
,
tree
,
key
):
...
...
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