diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-05-08 18:14:17 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-05-08 18:14:17 -0400 |
commit | 750c6ec84b8f10a5f13b57428ea07cb3a3f0b277 (patch) | |
tree | 9edc0b6454a71e4d8b4aafef2d4ea3c9486c0487 /CHANGES.rst | |
parent | d7397a71324bcec6f12773f1d6deac3ab64e64e4 (diff) | |
download | python-coveragepy-750c6ec84b8f10a5f13b57428ea07cb3a3f0b277.tar.gz |
Correct the defaults for coverage.report(show_missing=None, skip_covered=None)
Diffstat (limited to 'CHANGES.rst')
-rw-r--r-- | CHANGES.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index ff04775..923993b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -42,6 +42,13 @@ Unreleased - Officially support PyPy 5.1, which required no changes, just updates to the docs. +- The `coverage.report` function had two parameters with non-None defaults, + which have been changed. `show_missing` used to default to True, but now + defaults to None. If you had been calling `coverage.report` without + specifying `show_missing`, you'll need to explicitly set it to True to keep + the same behavior. `skip_covered` used to default to False. It is now None, + which doesn't change the behavior. This fixes `issue 485`_. + - It's never been possible to pass a namespace module to one of the analysis functions, but now at least we raise a more specific error message, rather than getting confused. (`issue 456`_) @@ -62,6 +69,7 @@ Unreleased .. _issue 475: https://bitbucket.org/ned/coveragepy/issues/475/generator-expression-is-marked-as-not .. _issue 479: https://bitbucket.org/ned/coveragepy/issues/479/clarify-the-need-for-the-c-extension .. _issue 481: https://bitbucket.org/ned/coveragepy/issues/481/asyncioprocesspoolexecutor-tracing-not +.. _issue 485: https://bitbucket.org/ned/coveragepy/issues/485/coveragereport-ignores-show_missing-and Version 4.1b2 --- 2016-01-23 |