mirror of
https://github.com/syssec-utd/pylingual.git
synced 2026-05-10 18:39:03 -07:00
Update Exception test cases
This commit is contained in:
committed by
Joel-Flores123
parent
4a055c59ca
commit
738279d812
@@ -476,6 +476,13 @@ def ab1_named_except_return():
|
||||
print(2)
|
||||
return 3
|
||||
|
||||
# 3.12 NamedExc not matching
|
||||
def ab2_named_except_return():
|
||||
try:
|
||||
return a
|
||||
except Exception as a:
|
||||
return b
|
||||
|
||||
# 3.11/3.12/3.13 No template match
|
||||
def ac0_empty_try_finally():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user