Version 4.1b2 — 2016-01-23
- Problems with the new branch measurement in 4.1 beta 1 were fixed:
- Class docstrings were considered executable. Now they no longer are.
yield from
andawait
were considered returns from functions, since they could transfer control to the caller. This produced unhelpful “missing branch” reports in a number of circumstances. Now they no longer are considered returns.- In unusual situations, a missing branch to a negative number was reported. This has been fixed, closing issue 466.
- The XML report now produces correct package names for modules found in directories specified with
source=
. Fixes issue 465. coverage report
won’t produce trailing white space.
➡️ PyPI page: coverage 4.1b2.
➡️ To install: python3 -m pip install coverage==4.1b2