Commit 538ae904 authored by Stefan Behnel's avatar Stefan Behnel

error test fix

parent 40545bda
# mode: error
def test_non_existant(): def test_non_existant():
nonlocal no_such_name nonlocal no_such_name
...@@ -28,8 +29,8 @@ def redef_in_class_scope(): ...@@ -28,8 +29,8 @@ def redef_in_class_scope():
_ERRORS = u""" _ERRORS = u"""
3:4: no binding for nonlocal 'no_such_name' found 4:4: no binding for nonlocal 'no_such_name' found
10:8: 'x' redeclared as nonlocal 11:8: 'x' redeclared as nonlocal
15:4: no binding for nonlocal 'global_name' found 16:4: no binding for nonlocal 'global_name' found
27:8: 'x' redeclared as nonlocal 28:8: 'x' redeclared as nonlocal
""" """
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment