Skip to content

7.2.0

Compare
Choose a tag to compare
@nedbat nedbat released this 13 Oct 23:36
· 770 commits to master since this release
7.2.0
b14e7f4

Version 7.2.0 — 2023-02-22

  • Added a new setting [report] exclude_also to let you add more exclusions without overwriting the defaults. Thanks, Alpha Chen, closing issue 1391.
  • Added a CoverageData.purge_files() method to remove recorded data for a particular file. Contributed by Stephan Deibel.
  • Fix: when reporting commands fail, they will no longer congratulate themselves with messages like “Wrote XML report to file.xml” before spewing a traceback about their failure.
  • Fix: arguments in the public API that name file paths now accept pathlib.Path objects. This includes the data_file and config_file arguments to the Coverage constructor and the basename argument to CoverageData. Closes issue 1552.
  • Fix: In some embedded environments, an IndexError could occur on stop() when the originating thread exits before completion. This is now fixed, thanks to Russell Keith-Magee, closing issue 1542.
  • Added a py.typed file to announce our type-hintedness. Thanks, KotlinIsland.

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