Commit d0c552ac authored by Jim Fulton's avatar Jim Fulton

Restored accurate items length. Added separate (untested) methods for

getting key max and min values.

Added (back) PER_USE macro to make persistence handling sane.
parent 8b49f51a
This diff is collapsed.
...@@ -147,7 +147,7 @@ class TestBTrees(TestCase): ...@@ -147,7 +147,7 @@ class TestBTrees(TestCase):
assert x == i, (x,i) assert x == i, (x,i)
i = i + 1 i = i + 1
# BTree items must lie about their lengths, so we convert to list # BTree items must lie about their lengths, so we convert to list
assert len(list(v)) == 100, len(v) assert len(v) == 100, len(v)
#assert len(v) == 100, len(v) #assert len(v) == 100, len(v)
def testItemsWorks(self): def testItemsWorks(self):
......
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