summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_i0020.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/input/func_i0020.py')
-rw-r--r--pylint/test/input/func_i0020.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pylint/test/input/func_i0020.py b/pylint/test/input/func_i0020.py
new file mode 100644
index 0000000..8c0fe9f
--- /dev/null
+++ b/pylint/test/input/func_i0020.py
@@ -0,0 +1,8 @@
+"""Test for reporting of suppressed messages."""
+
+__revision__ = 0
+
+def suppressed():
+ """A function with an unused variable."""
+ # pylint: disable=W0612
+ var = 0