diff --git a/tests/01_int.py b/tests/01_int.py index 7ff7b692..13b52fa1 100644 --- a/tests/01_int.py +++ b/tests/01_int.py @@ -126,8 +126,8 @@ except ZeroDivisionError: assert not 1 < 2 > 3 try: - eval("231231312312312312312312312312312312314354657553423345632") - print("eval should fail with SyntaxError") + x = eval("231231312312312312312312312312312312314354657553423345632") + print(f"eval should fail, but got {x!r}") exit(1) except SyntaxError: pass