diff --git a/tests/test_utils_eval.py b/tests/test_utils_eval.py index 39f575ea1..df650f24e 100644 --- a/tests/test_utils_eval.py +++ b/tests/test_utils_eval.py @@ -24,7 +24,7 @@ from slic.utils.eval import * ("3 + -4", -1), ("True + 1", 2), ("string", "string"), - ("1e1000 * 1e1000", inf), + ("1e1000 * 1e1000", float("inf")), ("'a' + 'b'", "ab") # string concatenation supported !!! ]) def test_arithmetic_eval_valid(expr, expected):