summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.rst6
-rw-r--r--CONTRIBUTORS.txt1
-rw-r--r--coverage/parser.py1
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):