diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-06 17:29:09 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-06 18:06:44 -0400 |
commit | 1a616da57258bb3a1d6a0fbd05adfcb76155c49c (patch) | |
tree | 4d8577be5c1f87f569cbd68c95e1b2dfefda0376 /coverage/control.py | |
parent | 2f5c7aefcd33da77e7cf83945634d6169226ec6b (diff) | |
download | python-coveragepy-git-1a616da57258bb3a1d6a0fbd05adfcb76155c49c.tar.gz |
fix: remapping paths during combining needs to follow relative_files=True. #1147
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/control.py b/coverage/control.py index ae4b14b3..8a832a20 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -706,7 +706,7 @@ class Coverage: aliases = None if self.config.paths: - aliases = PathAliases() + aliases = PathAliases(relative=self.config.relative_files) for paths in self.config.paths.values(): result = paths[0] for pattern in paths[1:]: |