summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-02-28 10:46:11 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-02-28 11:02:15 -0500
commit79087b9f9e561bec1654ee80f143c4754641e81f (patch)
tree618599d916054cb89becb3f6c3f36c22b01984e3 /CHANGES.rst
parentb12f189e8ed34b31438b8cca19133b74f7d67f90 (diff)
downloadpython-coveragepy-git-79087b9f9e561bec1654ee80f143c4754641e81f.tar.gz
fix: don't report branches to missing lines. #1065
Fixes: #1065 Fixes: #955
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 82f174dd..1dd57b03 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -29,6 +29,12 @@ Unreleased
they have been combined. This was requested in `issue 1108`_ and implemented
in `pull request 1110`_. Thanks, Éric Larivière.
+- When reporting missing branches in ``coverage report``, branches aren't
+ reported that jump to missing lines. This adds to the long-standing behavior
+ of not reporting branches from missing lines. Now branches are only reported
+ if both the source and destination lines are executed. Closes both `issue
+ 1065`_ and `issue 955`_.
+
- Minor improvements to the HTML report:
- The state of the line visibility selector buttons is saved in local storage
@@ -41,6 +47,8 @@ Unreleased
will be more likely to understand what's happening, closing `issue 803`_.
.. _issue 803: https://github.com/nedbat/coveragepy/issues/803
+.. _issue 955: https://github.com/nedbat/coveragepy/issues/955
+.. _issue 1065: https://github.com/nedbat/coveragepy/issues/1065
.. _issue 1108: https://github.com/nedbat/coveragepy/issues/1108
.. _pull request 1110: https://github.com/nedbat/coveragepy/pull/1110
.. _issue 1123: https://github.com/nedbat/coveragepy/issues/1123