Skip to content

Commit

Permalink
Simplifies test to one line
Browse files Browse the repository at this point in the history
  • Loading branch information
MoseleyS committed Nov 1, 2023
1 parent d3173e5 commit 8730e03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions improver_tests/categorical/test_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,8 +725,7 @@ def test_day_night_map():
)
def test_is_decision_node(name, node, expected):
"""Tests that we can correctly distinguish between decision nodes and other nodes"""
result = is_decision_node(name, node)
assert result == expected
assert is_decision_node(name, node) == expected


if __name__ == "__main__":
Expand Down

0 comments on commit 8730e03

Please sign in to comment.