summaryrefslogtreecommitdiff
path: root/coverage/inorout.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-07-28 19:48:10 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-07-28 19:48:10 -0400
commit7fe106b9fef26478ba10a6f206baf70eee201d4a (patch)
treea6e35aafeeea8887899433f5067f00569950ff44 /coverage/inorout.py
parentc5c1ba084b0b548ff8869cbc086e81608c329eb6 (diff)
downloadpython-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.py2
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: