summaryrefslogtreecommitdiff
path: root/pylint/test/functional/singledispatch_functions_py3.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2016-12-04 11:35:23 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2016-12-04 11:40:37 +0200
commit0b58de8f6e923a6331aa227f70867b0276a32ff0 (patch)
tree8fa6cdbe27a159a18341067dea539c5e701026ec /pylint/test/functional/singledispatch_functions_py3.py
parent5b6d225789b7abdbe7a9156bf7c4bf019783a271 (diff)
downloadpylint-git-0b58de8f6e923a6331aa227f70867b0276a32ff0.tar.gz
Skip checking only of arguments when in a singledispatched function.
Diffstat (limited to 'pylint/test/functional/singledispatch_functions_py3.py')
-rw-r--r--pylint/test/functional/singledispatch_functions_py3.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/test/functional/singledispatch_functions_py3.py b/pylint/test/functional/singledispatch_functions_py3.py
index 241918ba0..0199ddc18 100644
--- a/pylint/test/functional/singledispatch_functions_py3.py
+++ b/pylint/test/functional/singledispatch_functions_py3.py
@@ -57,6 +57,7 @@ def with_extra_arg(arg, verbose=False):
@with_extra_arg.register(str)
def _(arg, verbose=False):
+ unused = 42 # [unused-variable]
return arg[::-1]