From 13159a9bae170be630d501af3a2f446bc57a6837 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 29 Jun 2020 11:47:03 -0400 Subject: More details on --source filtering --- coverage/control.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'coverage/control.py') 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 -- cgit v1.2.1