summaryrefslogtreecommitdiff
path: root/tests/test_parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-03 08:56:48 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-03 08:56:48 -0400
commit09dd9334a2cc7976c1a42f795eba5864aaf930f0 (patch)
treefc0b394c420158fe569355650a35389fcc34239b /tests/test_parser.py
parentabb3536b66910ddec0e83d3d2a251607d4f5223a (diff)
downloadpython-coveragepy-git-09dd9334a2cc7976c1a42f795eba5864aaf930f0.tar.gz
Clean up some pylint
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r--tests/test_parser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py
index 2cf39baa..b3f41dd5 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -119,6 +119,7 @@ class ParserFileTest(CoverageTest):
def parse_file(self, filename):
"""Parse `text` as source, and return the `PythonParser` used."""
+ # pylint: disable=attribute-defined-outside-init
parser = PythonParser(filename=filename, exclude="nocover")
self.statements, self.excluded = parser.parse_source()
return parser