diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-09-09 11:23:48 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-09-09 11:23:48 -0400 |
commit | 3532b93a971bac212054b4e5669339303b794570 (patch) | |
tree | 3a959db0ed8b7cfa767a4e5999339770ef76cc73 /coverage/control.py | |
parent | c447cc814c0b4e08e1307e89df66a3bffa45c0c6 (diff) | |
download | python-coveragepy-git-3532b93a971bac212054b4e5669339303b794570.tar.gz |
Correct some function names and docstrings. #843
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 5 |
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: |