diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-03-26 10:36:02 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-03-26 10:36:02 -0400 |
commit | ed8078678b545fdbaf3e96b8eb76cb1ce1ceae04 (patch) | |
tree | a9e46e6c96981afb920ce8992f4935d525b578e0 | |
parent | aaa9f4266c643541f8dfe87a4f50256fbb3d04ba (diff) | |
download | python-coveragepy-git-ed8078678b545fdbaf3e96b8eb76cb1ce1ceae04.tar.gz |
Thanks, Kjell Braden
-rw-r--r-- | CHANGES.rst | 6 | ||||
-rw-r--r-- | CONTRIBUTORS.txt | 1 | ||||
-rw-r--r-- | coverage/parser.py | 1 |
3 files changed, 6 insertions, 2 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 5272760a..c5dba71d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -24,7 +24,11 @@ want to know what's different in 5.0 since 4.5.x, see :ref:`whatsnew5x`. Unreleased ---------- -Nothing yet. +- On Python 3.8, try-finally-return reported wrong branch coverage with + decorated async functions (`issue 946`_). This is now fixed. Thanks, Kjell + Braden. + +.. _issue 946: https://github.com/nedbat/coveragepy/issues/946 .. _changes_504: diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index a89c3bfa..109974a3 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -80,6 +80,7 @@ Josh Williams Julian Berman Julien Voisin Justas Sadzevičius +Kjell Braden Krystian Kichewko Kyle Altendorf Lars Hupfeldt Nielsen diff --git a/coverage/parser.py b/coverage/parser.py index 70be0230..e3e43149 100644 --- a/coverage/parser.py +++ b/coverage/parser.py @@ -610,7 +610,6 @@ class AstArcAnalyzer(object): return node.lineno _line__FunctionDef = _line_decorated - _line__AsyncFunctionDef = _line_decorated def _line__List(self, node): |