Skip to content

Commit

Permalink
[Test] make test_input_type_error actually assert failure
Browse files Browse the repository at this point in the history
  • Loading branch information
maltanar committed Dec 20, 2024
1 parent 9e8f40e commit 7e747d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/test_datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_resolve_datatype(input):
except TypeError:
pass
else:
print("Test with invalid input failed: No TypeError was raised.")
assert False, "Test with invalid input failed: No TypeError was raised."

test_resolve_datatype(123)
test_resolve_datatype(1.23)
Expand Down

0 comments on commit 7e747d7

Please sign in to comment.