Commit 800a35f1 authored by Tres Seaver's avatar Tres Seaver

fsBTrees don't get merged.

parent 91007b38
......@@ -46,9 +46,6 @@ class fsBucketPy(Bucket):
_to_key = _to_key
_to_value = _to_value
def MERGE_WEIGHT(self, value, weight):
return value
def toString(self):
return ''.join(self._keys) + ''.join(self._values)
......
......@@ -23,10 +23,6 @@ class fsBucketTests(unittest.TestCase):
def _makeOne(self, *args, **kw):
return self._getTargetClass()(*args, **kw)
def test_MERGE_WEIGHT(self):
bucket = self._makeOne()
self.assertEqual(bucket.MERGE_WEIGHT(42, 17), 42)
def test_toString(self):
bucket = self._makeOne([(c*2, c*6) for c in 'abcdef'])
self.assertEqual(bucket.toString(),
......
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