5.0a7
Pre-release
Pre-release
·
2455 commits
to master
since this release
Version 5.0a7 — 2019-09-21
- Data can now be “reported” in JSON format, for programmatic use, as requested in issue 720. The new
coverage json
command writes raw and summarized data to a JSON file. Thanks, Matt Bachmann. - Dynamic contexts are now supported in the Python tracer, which is important for PyPy users. Closes issue 846.
- The compact line number representation introduced in 5.0a6 is called a “numbits.” The coverage.numbits module provides functions for working with them.
- The reporting methods used to permanently apply their arguments to the configuration of the Coverage object. Now they no longer do. The arguments affect the operation of the method, but do not persist.
- A class named “test_something” no longer confuses the
test_function
dynamic context setting. Fixes issue 829. - Fixed an unusual tokenizing issue with backslashes in comments. Fixes issue 822.
debug=plugin
didn’t properly support configuration or dynamic context plugins, but now it does, closing issue 834.
➡️ PyPI page: coverage 5.0a7.
➡️ To install: python3 -m pip install coverage==5.0a7