Commit e63d2c94 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 03ac448d
......@@ -305,6 +305,7 @@ class XBlk(Persistent):
self.data = data
def __str__(self):
return 'X%s' % self.data
__repr__ = __str__
# XLOTree is like LOTree but with small max tree and bucket node sizes.
class XLOTree(LOBTree):
......@@ -408,7 +409,7 @@ def test_restructure():
# tree with one not-yet committed bucket
z = Z(1, 3)
assert crack_btree(z) == (BTREE_ONE, (1, X[1], 3, X[3]), None)
assert crack_btree(z) == (BTREE_ONE, ((1, X[1], 3, X[3]),), None)
# XXX tree with one committed bucket
......
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