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, 2 insertions, 2 deletions
diff --git a/coverage/files.py b/coverage/files.py
index 05c98eec..33964960 100644
--- a/coverage/files.py
+++ b/coverage/files.py
@@ -160,7 +160,7 @@ def zip_location(filename):
name is in the zipfile.
"""
- for ext in ['.zip', '.egg', '.pex']:
+ for ext in ['.zip', '.whl', '.egg', '.pex']:
zipbase, extension, inner = filename.partition(ext + sep(filename))
if extension:
zipfile = zipbase + ext
@@ -473,7 +473,7 @@ class PathAliases:
if not exists(new):
self.debugfn(
f"Rule {original_pattern!r} changed {path!r} to {new!r} " +
- f"which doesn't exist, continuing"
+ "which doesn't exist, continuing"
)
continue
self.debugfn(