summaryrefslogtreecommitdiff
path: root/tests/functional/n/nested_func_defined_in_loop.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-03-17 20:32:32 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-03-28 22:45:45 +0200
commitcc8aecde635f991b1bb8e1331ce2e213ebaf695a (patch)
tree4a0f6aec7f55f01a59b72b482e6097471c3a924e /tests/functional/n/nested_func_defined_in_loop.py
parent32c5b9f2e73085e5a7b368c57b0568569581052e (diff)
downloadpylint-git-cc8aecde635f991b1bb8e1331ce2e213ebaf695a.tar.gz
Enable use-symbolic-message-instead in functional tests
Diffstat (limited to 'tests/functional/n/nested_func_defined_in_loop.py')
-rw-r--r--tests/functional/n/nested_func_defined_in_loop.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/functional/n/nested_func_defined_in_loop.py b/tests/functional/n/nested_func_defined_in_loop.py
index af3479074..39d2889a4 100644
--- a/tests/functional/n/nested_func_defined_in_loop.py
+++ b/tests/functional/n/nested_func_defined_in_loop.py
@@ -1,11 +1,10 @@
-# pylint: disable=W0640
"""Check a nested function defined in a loop."""
def example(args):
"""The check"""
for i in args:
def nested():
- print(i)
+ print(i) # [cell-var-from-loop]
nested()
for i in args:
print(i)