Skip to content

Commit

Permalink
More flexible tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas authored Oct 10, 2023
1 parent 856835e commit 8d4e92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_math():

print(messages)

assert round(float(messages[-1]["message"]), 2) == round(test_result, 2)
assert str(round(test_result, 2)) in messages[-1]["message"]


def test_delayed_exec():
Expand Down

0 comments on commit 8d4e92d

Please sign in to comment.