summaryrefslogtreecommitdiff
path: root/coverage/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/parser.py')
-rw-r--r--coverage/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/parser.py b/coverage/parser.py
index 8b9cc1ee..9041e349 100644
--- a/coverage/parser.py
+++ b/coverage/parser.py
@@ -216,7 +216,7 @@ class PythonParser(CodeParser):
try:
self._raw_parse()
except (tokenize.TokenError, IndentationError) as tokerr:
- msg, lineno = tokerr.args
+ msg, lineno = tokerr.args # pylint: disable=unpacking-non-sequence
raise NotPython(
"Couldn't parse '%s' as Python source: '%s' at %s" %
(self.filename, msg, lineno)