Fixes test case ae0

This commit is contained in:
Xinlong Hu
2025-07-14 13:30:19 -05:00
committed by Joel-Flores123
parent f681d4d05f
commit 4a055c59ca
2 changed files with 2 additions and 3 deletions
@@ -39,7 +39,7 @@ class Except3_11(ControlFlowTemplate):
return x
@register_template(0, 0, *versions_from(3, 11))
@register_template(0, 1, *versions_from(3, 11))
class Try3_11(ControlFlowTemplate):
template = T(
try_header=N("try_body"),
@@ -324,7 +324,7 @@ class Except3_9(ControlFlowTemplate):
return node
@register_template(0, 0, (3, 9), (3, 10))
@register_template(0, 1, (3, 9), (3, 10))
class Try3_9(ControlFlowTemplate):
template = T(
try_header=~N("try_body"),
-1
View File
@@ -494,7 +494,6 @@ def ad0_multiple_try_blocks():
except:
print(4)
# 3.10/3.11 Try matching before TryElse
def ae0_try_except_else_nested_try():
try:
print(1)