4.4
Version 4.4 — 2017-05-07
- Reports could produce the wrong file names for packages, reporting
pkg.pyinstead of the correctpkg/__init__.py. This is now fixed. Thanks, Dirk Thomas. - XML reports could produce
<source>and<class>lines that together didn’t specify a valid source file path. This is now fixed. (issue 526) - Namespace packages are no longer warned as having no code. (issue 572)
- Code that uses
sys.settrace(sys.gettrace())in a file that wasn’t being coverage-measured would prevent correct coverage measurement in following code. An example of this was running doctests programmatically. This is now fixed. (issue 575) - Errors printed by the
coveragecommand now go to stderr instead of stdout. - Running
coverage xmlin a directory named with non-ASCII characters would fail under Python 2. This is now fixed. (issue 573)
➡️ PyPI page: coverage 4.4.
➡️ To install: python3 -m pip install coverage==4.4