summaryrefslogtreecommitdiff
path: root/tests/plugin2.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-02-14 08:13:06 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-02-14 08:13:06 -0500
commit21d67b2b01d6daa5c29dc7aca336d5491e4096de (patch)
tree2952bb9f6fc27b5041b4704bfcdfb8daa54627f8 /tests/plugin2.py
parentccc84c5a7fbaece36ae0d1a9a994efcc40cf0641 (diff)
downloadpython-coveragepy-git-21d67b2b01d6daa5c29dc7aca336d5491e4096de.tar.gz
Pylint
Diffstat (limited to 'tests/plugin2.py')
-rw-r--r--tests/plugin2.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/plugin2.py b/tests/plugin2.py
index 7d2ac7cb..9d47d260 100644
--- a/tests/plugin2.py
+++ b/tests/plugin2.py
@@ -2,6 +2,8 @@
import coverage
+# pylint: disable=missing-docstring
+
class Plugin(coverage.CoveragePlugin):
def file_tracer(self, filename):
@@ -29,9 +31,6 @@ class RenderFileTracer(coverage.plugin.FileTracer):
class FileReporter(coverage.plugin.FileReporter):
- def __init__(self, filename):
- self.filename = filename
-
def statements(self):
# Goofy test arrangement: claim that the file has as many lines as the
# number in its name.