Skip to content

Commit

Permalink
BTrees.check: 100% branch coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Dec 17, 2014
1 parent e540e73 commit f972cd8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions BTrees/check.py
Expand Up @@ -69,8 +69,7 @@
):
_type2kind[globals()[kv+name]] = kind
py = kv + name + 'Py'
if py in globals():
_type2kind[globals()[py]] = kind
_type2kind[globals()[py]] = kind

# Return pair
#
Expand Down Expand Up @@ -127,12 +126,10 @@ def classify(obj):
):
_btree2bucket[globals()[kv+'BTree']] = globals()[kv+'Bucket']
py = kv + 'BTreePy'
if py in globals():
_btree2bucket[globals()[py]] = globals()[kv+'BucketPy']
_btree2bucket[globals()[py]] = globals()[kv+'BucketPy']
_btree2bucket[globals()[kv+'TreeSet']] = globals()[kv+'Set']
py = kv + 'TreeSetPy'
if py in globals():
_btree2bucket[globals()[kv+'TreeSetPy']] = globals()[kv+'SetPy']
_btree2bucket[globals()[kv+'TreeSetPy']] = globals()[kv+'SetPy']


def crack_btree(t, is_mapping):
Expand Down

0 comments on commit f972cd8

Please sign in to comment.