summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-11-06 12:31:35 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-11-06 13:33:53 -0500
commitd5c3daa5b6f15f968e663f1a0459ddad48479e67 (patch)
tree39453ae6cb48d950790000f836f2a023adea28cd /CHANGES.rst
parente5a15c1d5652574ba85673f814b09f5da333fca8 (diff)
downloadpython-coveragepy-git-d5c3daa5b6f15f968e663f1a0459ddad48479e67.tar.gz
fix: an empty file shouldn't fail with --fail-under=99. #1470
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index a03c052c..960cb9c6 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -29,12 +29,16 @@ Unreleased
- Using ``--format=total`` will write a single total number to the
output. This can be useful for making badges or writing status updates.
+- An empty file has a coverage total of 100%, but used to fail with
+ ``--fail-under``. This has been fixed, closing `issue 1470`_.
+
- Fixed a mis-measurement of a strange use of wildcard alternatives in
match/case statements, closing `issue 1421`_.
.. _pull 1479: https://github.com/nedbat/coveragepy/pull/1479
.. _issue 1418: https://github.com/nedbat/coveragepy/issues/1418
.. _issue 1421: https://github.com/nedbat/coveragepy/issues/1421
+.. _issue 1470: https://github.com/nedbat/coveragepy/issues/1470
.. _changes_6-6-0b1: