mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30: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
|
assert not 1 < 2 > 3
|
||||||
|
|
||||||
try:
|
try:
|
||||||
eval("231231312312312312312312312312312312314354657553423345632")
|
x = eval("231231312312312312312312312312312312314354657553423345632")
|
||||||
print("eval should fail with SyntaxError")
|
print(f"eval should fail, but got {x!r}")
|
||||||
exit(1)
|
exit(1)
|
||||||
except SyntaxError:
|
except SyntaxError:
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user