diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-06-29 11:47:03 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-06-29 11:47:03 -0400 |
commit | 13159a9bae170be630d501af3a2f446bc57a6837 (patch) | |
tree | aa1ed99cd1ee3868a7a16c402d8fba92ff31a6a9 /coverage/control.py | |
parent | 44bb5857681d07c0a80f96b9c287dc4c9d23a795 (diff) | |
download | python-coveragepy-git-13159a9bae170be630d501af3a2f446bc57a6837.tar.gz |
More details on --source filtering
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/coverage/control.py b/coverage/control.py index c2f40e70..14c22eb1 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -212,7 +212,6 @@ class Coverage(object): self._data = self._collector = None self._plugins = None self._inorout = None - self._inorout_class = InOrOut self._data_suffix = self._run_suffix = None self._exclude_re = None self._debug = None @@ -483,7 +482,10 @@ class Coverage(object): plugin._coverage_enabled = False # Create the file classifying substructure. - self._inorout = self._inorout_class(warn=self._warn) + self._inorout = InOrOut( + warn=self._warn, + debug=(self._debug if self._debug.should('trace') else None), + ) self._inorout.configure(self.config) self._inorout.plugins = self._plugins self._inorout.disp_class = self._collector.file_disposition_class |