Commit a082acd6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 7966d08a
......@@ -273,11 +273,29 @@ def test_allStructs():
# (if yes -> compare with set, not exact order, and use topoencoding on the right)
# XBlk simulates ZBlk without xbtree_test.py depending on file_zodb.py
class XBlk(Persistent):
def __init__(self, data):
self.data = data
def __str__(self):
return 'X%s' % self.data
def test_restructure():
T = xbtree.Tree
B = xbtree.Bucket
1/0
N = 8 # maxkey
zblkv = [] # zblk[i] = ZBlk corresponding to block #i
for i in range(N):
zblkv.append(XBlk('abcdefgh'[i]))
IOSet
#for nkeys in range(5):
# pass
......
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