Skip to content

Commit

Permalink
Thanks, Kjell Braden
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Mar 26, 2020
1 parent aaa9f42 commit ed80786
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Josh Williams
Julian Berman
Julien Voisin
Justas Sadzevičius
Kjell Braden
Krystian Kichewko
Kyle Altendorf
Lars Hupfeldt Nielsen
Expand Down
1 change: 0 additions & 1 deletion coverage/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,6 @@ def _line__Dict(self, node):
return node.lineno

_line__FunctionDef = _line_decorated

_line__AsyncFunctionDef = _line_decorated

def _line__List(self, node):
Expand Down

0 comments on commit ed80786

Please sign in to comment.