From d4cf8b8c039dbf8160c2433db0f51ff6627b18f2 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Mon, 4 Mar 2024 17:07:32 +0800 Subject: [PATCH] Update 01_int.py --- tests/01_int.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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