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 05c0d0c..a2fa1df 100644
--- a/coverage/parser.py
+++ b/coverage/parser.py
@@ -351,7 +351,7 @@ class ByteParser(object):
self.code = compile(text, filename, "exec")
except SyntaxError as synerr:
raise NotPython(
- "Couldn't parse %r as Python source: '%s' at line %d" % (
+ "Couldn't parse '%s' as Python source: '%s' at line %d" % (
filename, synerr.msg, synerr.lineno
)
)