summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 351992f2..f7be083d 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -306,7 +306,9 @@ class Coverage(object):
# data file will be written into the directory where the process
# started rather than wherever the process eventually chdir'd to.
self.data = CoverageData(debug=self.debug)
- self.data_files = CoverageDataFiles(basename=self.config.data_file, warn=self._warn)
+ self.data_files = CoverageDataFiles(
+ basename=self.config.data_file, warn=self._warn, debug=self.debug,
+ )
# The directories for files considered "installed with the interpreter".
self.pylib_dirs = set()