Update Exception test cases

This commit is contained in:
Xinlong Hu
2025-07-14 17:58:56 -05:00
committed by Joel-Flores123
parent 4a055c59ca
commit 738279d812
+7
View File
@@ -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: