Skip to content

Commit

Permalink
Small text QOL
Browse files Browse the repository at this point in the history
  • Loading branch information
neNasko1 committed Oct 9, 2024
1 parent 0af4631 commit 04886c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python_package_test/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def assert_subtree_valid(root):
(r_w, r_c) = assert_subtree_valid(right_child)
assert (
abs(root["internal_weight"] - (l_w + r_w)) <= 1e-3
), "root node's internal weight should be exactly the sum of its child nodes' internal counts"
), "root node's internal weight should be approximately the sum of its child nodes' internal weights"
assert (
root["internal_count"] == l_c + r_c
), "root node's internal count should be exactly the sum of its child nodes' internal counts"
Expand Down

0 comments on commit 04886c0

Please sign in to comment.