Skip to content

Commit

Permalink
Fix #64 update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
caesar0301 committed Nov 11, 2016
1 parent af6a75c commit bd53bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_treelib.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def test_leaves(self):
for nid in self.tree.expand_tree():
self.assertEqual((self.tree[nid].is_leaf()) == (self.tree[nid] \
in leaves), True)
leaves = self.tree.leaves(root='jane')
leaves = self.tree.leaves(nid='jane')
for nid in self.tree.expand_tree(nid='jane'):
self.assertEqual(self.tree[nid].is_leaf() == (self.tree[nid] in leaves), True)

Expand Down

0 comments on commit bd53bbd

Please sign in to comment.