Skip to content

Commit

Permalink
additional rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
xehu committed Apr 9, 2024
1 parent d9f0754 commit 6216426
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 @@ -24,7 +24,7 @@ def test_chat_unit_equality(row):
expected = row[1]['expected_value']

try:
assert actual == expected
assert round(actual, 3) == round(expected, 3)
except AssertionError:

with open('test.log', 'a') as file:
Expand Down

0 comments on commit 6216426

Please sign in to comment.