mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Update 01_int.py
This commit is contained in:
parent
f95bdd45ac
commit
d4cf8b8c03
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user