mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
[skip ci] add a bad case
This commit is contained in:
parent
e2a707bb37
commit
648c1bedb4
@ -226,3 +226,15 @@ def finally_return():
|
||||
assert finally_return() == 1
|
||||
|
||||
|
||||
# nested try
|
||||
def g():
|
||||
try:
|
||||
raise KeyError
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
try:
|
||||
raise IndexError
|
||||
except IndexError:
|
||||
g()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user