diff options
Diffstat (limited to 'coverage/files.py')
-rw-r--r-- | coverage/files.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/files.py b/coverage/files.py index 8fa8067..9f0827f 100644 --- a/coverage/files.py +++ b/coverage/files.py @@ -95,7 +95,7 @@ def get_python_source(filename): break else: # Couldn't find source. - raise NoSource("No source for code: %r." % filename) + raise NoSource("No source for code: '%s'." % filename) # Python code should always end with a line with a newline. if source and source[-1] != '\n': |