summaryrefslogtreecommitdiff
path: root/pylint/test/functional/nonlocal_and_global.py
diff options
context:
space:
mode:
authorStephane Wirtel <stephane@wirtel.be>2015-09-21 12:54:56 +0100
committerStephane Wirtel <stephane@wirtel.be>2015-09-21 12:54:56 +0100
commit6ff876101062f3aee3d5db8628e3ed374e1db218 (patch)
tree4da5bbb8169c703657994ebda5d91d81d1da4456 /pylint/test/functional/nonlocal_and_global.py
parentab44b65cd5c3302672c621c0fd3cfae9a68d1d04 (diff)
downloadpylint-fix-582.tar.gz
Add a new check for the nonlocal variables without binding (close issue #582)fix-582
Diffstat (limited to 'pylint/test/functional/nonlocal_and_global.py')
-rw-r--r--pylint/test/functional/nonlocal_and_global.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/test/functional/nonlocal_and_global.py b/pylint/test/functional/nonlocal_and_global.py
index c601a29..9400524 100644
--- a/pylint/test/functional/nonlocal_and_global.py
+++ b/pylint/test/functional/nonlocal_and_global.py
@@ -1,5 +1,5 @@
"""Test that a name is both nonlocal and global in the same scope."""
-# pylint: disable=missing-docstring,global-variable-not-assigned,invalid-name
+# pylint: disable=missing-docstring,global-variable-not-assigned,invalid-name,nonlocal-without-binding
def bad(): # [nonlocal-and-global]
nonlocal missing