diff options
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/coverage/control.py b/coverage/control.py index a89a9da6..2eeec85c 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -408,6 +408,7 @@ class Coverage(object): # Create the data file. We do this at construction time so that the # data file will be written into the directory where the process # started rather than wherever the process eventually chdir'd to. + ensure_dir_for_file(self.config.data_file) self._data = CoverageData( basename=self.config.data_file, suffix=suffix, |