summaryrefslogtreecommitdiff
path: root/coverage/files.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/files.py')
-rw-r--r--coverage/files.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/coverage/files.py b/coverage/files.py
index c66327d3..7f2431d3 100644
--- a/coverage/files.py
+++ b/coverage/files.py
@@ -77,9 +77,7 @@ def get_python_source(filename):
return source
# Couldn't find source.
- raise NoSource(
- "No source for code: '%s'." % filename
- )
+ raise NoSource("No source for code: %r." % filename)
def get_zip_bytes(filename):