7.5.1
Version 7.5.1 — 2024-05-04
- Fix: a pragma comment on the continuation lines of a multi-line statement now excludes the statement and its body, the same as if the pragma is on the first line. This closes issue 754. The fix was contributed by Daniel Diniz.
- Fix: very complex source files like this one could cause a maximum recursion error when creating an HTML report. This is now fixed, closing issue 1774.
- HTML report improvements:
- Support files (JavaScript and CSS) referenced by the HTML report now have hashes added to their names to ensure updated files are used instead of stale cached copies.
- Missing branch coverage explanations that said “the condition was never false” now read “the condition was always true” because it’s easier to understand.
- Column sort order is remembered better as you move between the index pages, fixing issue 1766. Thanks, Daniel Diniz.
➡️ PyPI page: coverage 7.5.1.
➡️ To install: python3 -m pip install coverage==7.5.1