diff --git a/tests/core/test_datatypes.py b/tests/core/test_datatypes.py index 722a0ac4..c33da477 100644 --- a/tests/core/test_datatypes.py +++ b/tests/core/test_datatypes.py @@ -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)