diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-07-28 19:48:10 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-07-28 19:48:10 -0400 |
commit | 7fe106b9fef26478ba10a6f206baf70eee201d4a (patch) | |
tree | a6e35aafeeea8887899433f5067f00569950ff44 /coverage/inorout.py | |
parent | c5c1ba084b0b548ff8869cbc086e81608c329eb6 (diff) | |
download | python-coveragepy-git-7fe106b9fef26478ba10a6f206baf70eee201d4a.tar.gz |
fix: correct previous refactorings
File names should not be rendered with !r, since on Windows that will
produce double backslashes, which only confuses people.
Diffstat (limited to 'coverage/inorout.py')
-rw-r--r-- | coverage/inorout.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/inorout.py b/coverage/inorout.py index a161fa61..75b0a9cc 100644 --- a/coverage/inorout.py +++ b/coverage/inorout.py @@ -369,7 +369,7 @@ class InOrOut: if not disp.has_dynamic_filename: if not disp.source_filename: raise CoverageException( - f"Plugin {plugin!r} didn't set source_filename for {disp.original_filename!r}" + f"Plugin {plugin!r} didn't set source_filename for '{disp.original_filename}'" ) reason = self.check_include_omit_etc(disp.source_filename, frame) if reason: |