diff options
Diffstat (limited to 'coverage/execfile.py')
-rw-r--r-- | coverage/execfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/execfile.py b/coverage/execfile.py index beaf1913..654d2808 100644 --- a/coverage/execfile.py +++ b/coverage/execfile.py @@ -180,7 +180,7 @@ def make_code_from_py(filename): try: source = get_python_source(filename) except (IOError, NoSource): - raise NoSource("No file to run: %r" % filename) + raise NoSource("No file to run: '%s'" % filename) code = compile(source, filename, "exec") return code |