Skip to content

7.5.2

Compare
Choose a tag to compare
@nedbat nedbat released this 26 May 11:19
· 152 commits to master since this release
7.5.2
  • Fix: nested matches of exclude patterns could exclude too much code, as reported in issue 1779. This is now fixed.
  • Changed: previously, coverage.py would consider a module docstring to be an executable statement if it appeared after line 1 in the file, but not executable if it was the first line. Now module docstrings are never counted as executable statements. This can change coverage.py's count of the number of statements in a file, which can slightly change the coverage percentage reported.
  • In the HTML report, the filter term and "hide covered" checkbox settings are remembered between viewings, thanks to Daniel Diniz.
  • Python 3.13.0b1 is supported.
  • Fix: parsing error handling is improved to ensure bizarre source files are handled gracefully, and to unblock oss-fuzz fuzzing, thanks to Liam DeVoe. Closes issue 1787.

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