diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-10-04 11:08:36 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-10-04 11:08:36 -0400 |
commit | 5205da079a8e099f9f5c6895b2cd634fc512fc55 (patch) | |
tree | 75af617e7645f2ba8070f41659b919279bf3daf9 /coverage/control.py | |
parent | 6bf4946e0bc8599a1258c5107f7eece2efa70925 (diff) | |
download | python-coveragepy-git-5205da079a8e099f9f5c6895b2cd634fc512fc55.tar.gz |
Combining now issues warnings on unreadable files, unconditionally
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/coverage/control.py b/coverage/control.py index a5741a47..1fb0f5bf 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -763,7 +763,7 @@ class Coverage(object): self.get_data() self.data_files.write(self.data, suffix=self.data_suffix) - def combine(self, data_paths=None, ignore_errors=None): + def combine(self, data_paths=None): """Combine together a number of similarly-named coverage data files. All coverage data files whose name starts with `data_file` (from the @@ -782,8 +782,6 @@ class Coverage(object): self._init() self.get_data() - self.config.from_args(ignore_combine_errors=ignore_errors) - aliases = None if self.config.paths: aliases = PathAliases() @@ -792,12 +790,7 @@ class Coverage(object): for pattern in paths[1:]: aliases.add(pattern, result) - self.data_files.combine_parallel_data( - self.data, - aliases=aliases, - data_paths=data_paths, - ignore_errors=self.config.ignore_combine_errors, - ) + self.data_files.combine_parallel_data(self.data, aliases=aliases, data_paths=data_paths) def get_data(self): """Get the collected data and reset the collector. |