mirror of
https://github.com/davidhalter/parso.git
synced 2026-11-03 17:57:30 +08:00
Add the issue 'name %s is nonlocal and global
This commit is contained in:
1 parent
443cb1ce08
commit
d7b7548f8d
2 files changed
+19
-1
No files matched your search
@@ -220,6 +220,11 @@ def test_indentation_errors(code, positions):
|
||||
a = 3
|
||||
nonlocal a
|
||||
'''),
|
||||
dedent('''
|
||||
def x():
|
||||
global a
|
||||
nonlocal a
|
||||
'''),
|
||||
|
||||
|
||||
# IndentationError
|
||||
|
||||
Reference in new issue
Block a user