Add the issue 'name %s is nonlocal and global

This commit is contained in:
Dave Halter committed 2017-07-30 13:12:27 +02:00
1 parent 443cb1ce08
commit d7b7548f8d
2 files changed
+19 -1

No files matched your search

+5
View File
@@ -220,6 +220,11 @@ def test_indentation_errors(code, positions):
a = 3
nonlocal a
'''),
dedent('''
def x():
global a
nonlocal a
'''),
# IndentationError