4.0a6
Pre-release
Pre-release
nedbat
released this
13 Oct 23:32
·
4588 commits
to master
since this release
Version 4.0a6 — 2015-06-21
- Python 3.5b2 and PyPy 2.6.0 are supported.
- The original module-level function interface to coverage.py is no longer supported. You must now create a
coverage.Coverage
object, and use methods on it. - The
coverage combine
command now accepts any number of directories as arguments, and will combine all the data files from those directories. This means you don’t have to copy the files to one directory before combining. Thanks, Christine Lytwynec. Finishes issue 354. - Branch coverage couldn’t properly handle certain extremely long files. This is now fixed (issue 359).
- Branch coverage didn’t understand yield statements properly. Mickie Betz persisted in pursuing this despite Ned’s pessimism. Fixes issue 308 and issue 324.
- The
COVERAGE_DEBUG
environment variable can be used to set the[run] debug
configuration option to control what internal operations are logged. - HTML reports were truncated at formfeed characters. This is now fixed (issue 360). It’s always fun when the problem is due to a bug in the Python standard library.
- Files with incorrect encoding declaration comments are no longer ignored by the reporting commands, fixing issue 351.
- HTML reports now include a time stamp in the footer, closing issue 299. Thanks, Conrad Ho.
- HTML reports now begrudgingly use double-quotes rather than single quotes, because there are “software engineers” out there writing tools that read HTML and somehow have no idea that single quotes exist. Capitulates to the absurd issue 361. Thanks, Jon Chappell.
- The
coverage annotate
command now handles non-ASCII characters properly, closing issue 363. Thanks, Leonardo Pistone. - Drive letters on Windows were not normalized correctly, now they are. Thanks, Ionel Cristian Mărieș.
- Plugin support had some bugs fixed, closing issue 374 and issue 375. Thanks, Stefan Behnel.
➡️ PyPI page: coverage 4.0a6.
➡️ To install: python3 -m pip install coverage==4.0a6