summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-09-09 11:23:48 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-09-09 11:23:48 -0400
commit3532b93a971bac212054b4e5669339303b794570 (patch)
tree3a959db0ed8b7cfa767a4e5999339770ef76cc73 /coverage/control.py
parentc447cc814c0b4e08e1307e89df66a3bffa45c0c6 (diff)
downloadpython-coveragepy-git-3532b93a971bac212054b4e5669339303b794570.tar.gz
Correct some function names and docstrings. #843
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/coverage/control.py b/coverage/control.py
index c342eca4..6830afba 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -665,9 +665,10 @@ class Coverage(object):
if not self._data and self._warn_no_data:
self._warn("No data was collected.", slug="no-data-collected")
- # Find files that were never executed at all.
+ # Touch all the files that could have executed, so that we can
+ # mark completely unexecuted files as 0% covered.
if self._data:
- for file_path, plugin_name in self._inorout.find_unexecuted_files():
+ for file_path, plugin_name in self._inorout.find_possibly_unexecuted_files():
self._data.touch_file(file_path, plugin_name)
if self.config.note: