summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-12-02 20:30:09 -0500
committerNed Batchelder <ned@nedbatchelder.com>2019-12-02 20:31:15 -0500
commitb75575fd2cf3036d00624abbfc7d94f4f0c4aba8 (patch)
treefe1b54e2eb2d7fad7502ccc07049efb9bbfc1e26 /doc
parentae25eefbf48b9e6897af37903ecd697eb19f337f (diff)
downloadpython-coveragepy-git-b75575fd2cf3036d00624abbfc7d94f4f0c4aba8.tar.gz
Coverage(data_file=None) means no data file at all. #871
Diffstat (limited to 'doc')
-rw-r--r--doc/whatsnew5x.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/whatsnew5x.rst b/doc/whatsnew5x.rst
index c805b8d7..4724dee7 100644
--- a/doc/whatsnew5x.rst
+++ b/doc/whatsnew5x.rst
@@ -33,6 +33,11 @@ Backward Incompatibilities
circumstances, you may need to use ``parallel=true`` to avoid multiple
processes overwriting each others' data.
+- When constructing a :class:`coverage.Coverage` object, `data_file` can be
+ specified as None to prevent writing any data file at all. In previous
+ versions, an explicit `data_file=None` argument would use the default of
+ ".coverage". Fixes :github:`871`.
+
- The ``[run] note`` setting has been deprecated. Using it will result in a
warning, and the note will not be written to the data file. The
corresponding :class:`.CoverageData` methods have been removed.