Skip to content

4.0b2

Pre-release
Pre-release

Choose a tag to compare

@nedbat nedbat released this 13 Oct 23:32
· 4756 commits to master since this release

Version 4.0b2 — 2015-08-22

  • 4.0b1 broke --append creating new data files. This is now fixed, closing issue 392.
  • py.test --cov can write empty data, then touch files due to --source, which made coverage.py mistakenly force the data file to record lines instead of arcs. This would lead to a “Can’t combine line data with arc data” error message. This is now fixed, and changed some method names in the CoverageData interface. Fixes issue 399.
  • CoverageData.read_fileobj and CoverageData.write_fileobj replace the .read and .write methods, and are now properly inverses of each other.
  • When using report --skip-covered, a message will now be included in the report output indicating how many files were skipped, and if all files are skipped, coverage.py won’t accidentally scold you for having no data to report. Thanks, Krystian Kichewko.
  • A new conversion utility has been added: python -m coverage.pickle2json will convert v3.x pickle data files to v4.x JSON data files. Thanks, Alexander Todorov. Closes issue 395.
  • A new version identifier is available, coverage.version_info, a plain tuple of values similar to sys.version_info.

➡️  PyPI page: coverage 4.0b2.
➡️  To install: python3 -m pip install coverage==4.0b2