[Checkins] SVN: BTrees/trunk/ Fix test breakage w/ ZODB.
Tres Seaver
cvs-admin at zope.org
Thu Oct 18 15:13:58 UTC 2012
Log message for revision 128063:
Fix test breakage w/ ZODB.
Changed:
_U BTrees/trunk/
U BTrees/trunk/BTrees/tests/testBTrees.py
-=-
Modified: BTrees/trunk/BTrees/tests/testBTrees.py
===================================================================
--- BTrees/trunk/BTrees/tests/testBTrees.py 2012-10-18 15:13:51 UTC (rev 128062)
+++ BTrees/trunk/BTrees/tests/testBTrees.py 2012-10-18 15:13:55 UTC (rev 128063)
@@ -2183,9 +2183,12 @@
self.failUnless(f1 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
+ def _makeOne(self):
+ return self._getTargetClass()()
+
def add_key(self, tree, key):
tree[key] = key
@@ -2242,7 +2245,7 @@
transaction.abort()
db.close()
-class InternalKeysSetTest:
+class InternalKeysSetTest(object):
# There must not be any internal keys not in the TreeSet
def add_key(self, tree, key):
More information about the checkins
mailing list