summaryrefslogtreecommitdiff
path: root/coverage/results.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/results.py')
-rw-r--r--coverage/results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/results.py b/coverage/results.py
index ae22e1c3..77ff2a2d 100644
--- a/coverage/results.py
+++ b/coverage/results.py
@@ -21,7 +21,7 @@ class Analysis(object):
if not os.path.exists(self.filename):
source = self.coverage.file_locator.get_zip_data(self.filename)
if not source:
- raise NoSource("No source for code: %r" % self.filename)
+ raise NoSource("No source for code: '%s'" % self.filename)
self.parser = CodeParser(
text=source, filename=self.filename,