mirror of
https://github.com/syssec-utd/pylingual.git
synced 2026-05-10 18:39:03 -07:00
Fixes test case ae0
This commit is contained in:
committed by
Joel-Flores123
parent
f681d4d05f
commit
4a055c59ca
@@ -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"),
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user