summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-12-18 22:44:13 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-12-18 22:44:13 -0500
commit1319240b4e7cce5e293e0f92eb887c4b97f03239 (patch)
tree3c35ce529a619d80d858fd6cb6d42feeddbfff68 /CHANGES.rst
parentab25c4b2256fc136c3a70494a80741e6a41d01fd (diff)
downloadpython-coveragepy-git-1319240b4e7cce5e293e0f92eb887c4b97f03239.tar.gz
Fix #496, while-true loop with a continue.
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst15
1 files changed, 11 insertions, 4 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 98cdbea6..40f82e61 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -18,10 +18,16 @@ Unreleased
data, leaving you with an empty .coverage data file. Fixes issues
`issue 525`_, `issue 412`_, `issue 516`_, and probably `issue 511`_.
-- Branch coverage could misunderstand a finally clause on a try block that
- never continued on to the following statement, as described in `issue 493`_.
- This is now fixed. Thanks to Joe Doherty for the report and Loïc Dachary for
- the fix.
+- Branch coverage fixes:
+
+ - Branch coverage could misunderstand a finally clause on a try block that
+ never continued on to the following statement, as described in `issue
+ 493`_. This is now fixed. Thanks to Joe Doherty for the report and Loïc
+ Dachary for the fix.
+
+ - A while-loop with a constant condition (while True) and a continue
+ statement would be mis-analyzed, as described in `issue 496`_. This is now
+ fixed, thanks to a bug report by Eli Skeggs and a fix by Loïc Dachary.
- Options can now be read from a tox.ini file, if any. Like setup.cfg, sections
are prefixed with "coverage:", so ``[run]`` options will be read from the
@@ -91,6 +97,7 @@ Unreleased
.. _issue 265: https://bitbucket.org/ned/coveragepy/issues/265/when-using-source-include-is-silently
.. _issue 412: https://bitbucket.org/ned/coveragepy/issues/412/coverage-combine-should-error-if-no
.. _issue 493: https://bitbucket.org/ned/coveragepy/issues/493/confusing-branching-failure
+.. _issue 496: https://bitbucket.org/ned/coveragepy/issues/496/incorrect-coverage-with-branching-and
.. _issue 505: https://bitbucket.org/ned/coveragepy/issues/505/use-canonical-filename-for-debounce
.. _issue 514: https://bitbucket.org/ned/coveragepy/issues/514/path-to-problem-file-not-reported-when
.. _issue 510: https://bitbucket.org/ned/coveragepy/issues/510/erase-still-needed-in-42