Commit 5095b414 authored by Tres Seaver's avatar Tres Seaver

Fix test breakage w/ ZODB.

parent ba9263aa
...@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment