Skip to content

Commit

Permalink
Update the new feature test case because of flake8.
Browse files Browse the repository at this point in the history
  • Loading branch information
DechinPhy committed May 20, 2020
1 parent 810b739 commit a34fb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ def test_get_upper_node():
root.left.left.upper.wtree = root
assert root.left.left.upper.upper == root
root.wtree = root
assert root.upper == None
assert root.upper is None
with pytest.raises(WtreeUnsetError) as err:
root = root.right.upper
assert str(err.value) == 'You should set a tree for the node you want'
Expand Down

0 comments on commit a34fb08

Please sign in to comment.