summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-11-28 10:12:56 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-11-29 20:08:48 -0500
commit7e7c44b4f5c484105559690b1efccd84839bc640 (patch)
treeaa91b46a3a986ba9ee1b6375e13e1c780f851714 /tests/test_process.py
parente955f106134029e2b8991a3ad1299377b73a0e55 (diff)
downloadpython-coveragepy-git-7e7c44b4f5c484105559690b1efccd84839bc640.tar.gz
feat: file paths are only remapped if the result exists
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 1f134a6d..3324497d 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -217,6 +217,8 @@ class ProcessTest(CoverageTest):
self.assert_file_count(".coverage.*", 2)
+ self.make_file("src/x.py", "")
+
self.run_command("coverage combine")
self.assert_exists(".coverage")