github nedbat/coveragepy coverage-5.0b2
5.0b2

latest releases: 7.6.3, 7.6.2, 7.6.1...
pre-release19 hours ago

Version 5.0b2 — 2019-12-08

  • An experimental [run] relative_files setting tells coverage to store relative file names in the data file. This makes it easier to run tests in one (or many) environments, and then report in another. It has not had much real-world testing, so it may change in incompatible ways in the future.
  • When constructing a coverage.Coverage object, data_file can be specified as None to prevent writing any data file at all. In previous versions, an explicit data_file=None argument would use the default of “.coverage”. Fixes issue 871.
  • Python files run with -m now have __spec__ defined properly. This fixes issue 745 (about not being able to run unittest tests that spawn subprocesses), and issue 838, which described the problem directly.
  • The [paths] configuration section is now ordered. If you specify more than one list of patterns, the first one that matches will be used. Fixes issue 649.
  • The coverage.numbits.register_sqlite_functions() function now also registers numbits_to_nums for use in SQLite queries. Thanks, Simon Willison.
  • Python 3.9a1 is supported.
  • Coverage.py has a mascot: Sleepy Snake.

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

Don't miss a new coveragepy release

NewReleases is sending notifications on new releases.