Skip to content

Commit

Permalink
round outputs in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xehu committed Apr 9, 2024
1 parent 5d1ccaa commit d9f0754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feature_engine/testing/test_feature_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_conv_unit_equality(conversation_num, conversation_rows):
expected = row['expected_value']

try:
assert actual == expected
assert round(actual, 3) == round(expected, 3)
except AssertionError:
expected_out = expected
actual_out = actual
Expand Down

0 comments on commit d9f0754

Please sign in to comment.