Sourced from coverage's releases.
7.16.1
Version 7.16.1 — 2026-09-13
- Fix: when the body of an irrefutable
case(likecase _:) is entirely excluded, thecaseline is now excluded too, just as an excludedelse:body removes theelse:line. Previously thecaseline was left behind and reported as missing. Closes issue 1563 with pull 2269.- Fix: using CoverageData.update() twice on an in-memory database would fail, as described in issue 2279. This is now fixed.
:arrow_right: PyPI page: coverage 7.16.1. :arrow_right: To install:
python3 -m pip install coverage==7.16.1
Sourced from coverage's changelog.
Version 7.16.1 — 2026-09-13
Fix: when the body of an irrefutable
case(likecase _:) is entirely excluded, thecaseline is now excluded too, just as an excludedelse:body removes theelse:line. Previously thecaseline was left behind and reported as missing. Closesissue 1563_ withpull 2269_.Fix: using :meth:
.CoverageData.updatetwice on an in-memory database would fail, as described inissue 2279_. This is now fixed... _issue 1563: coveragepy/coveragepy#1563 .. _pull 2269: coveragepy/coveragepy#2269 .. _issue 2279: coveragepy/coveragepy#2279
.. _changes_7-16-0:
ccbb992
docs: prep for 7.16.10697ccc
chore: make upgrade12f3595
chore: bump docker/setup-qemu-action in the action-dependencies group
(#2280)35b58d3
fix: CoverageData.update() can be called twice on an in-memory database.
#227992e1ce9
chore: bump the action-dependencies group with 4 updates (#2278)bf07310
build: quote var expansion (actionlint SC2086)3c434f5
quality: use shellcheck-py to get shellcheck in GitHub CI632f397
build: use .txt instead of .pip, even though it's a stupid
extensionffc6a4a
test: only run diff-cover on pull requests33553b3
fix: exclude the case line when an irrefutable case body is
excluded (#2269)