summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-06-27 18:19:13 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-06-27 18:19:13 -0400
commit555ecf22280e6849e36f680494157465c6c847e2 (patch)
tree9ec2a21ad49b1d370dd393777d7639f86f1afaf8 /CHANGES.txt
parent4e6f9294d025b0b3102f27a217f6c6dac5d110a4 (diff)
downloadpython-coveragepy-git-555ecf22280e6849e36f680494157465c6c847e2.tar.gz
Empty python files (like __init__.py) are shown as having zero statements, not one. Fixes #1.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 69f005b6..e114dbd6 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -39,6 +39,9 @@ Version 3.4a1
it needs to be. A cache of tracing decisions was broken, but has now been
fixed.
+- Python files with no statements, for example, empty ``__init__.py`` files,
+ are now reported as having zero statements instead of one. Fixes `issue 1`_.
+
- Reports now have a column of missed line counts rather than executed line
counts, since developers should focus on reducing the missed lines to zero,
rather than increasing the executed lines to varying targets. Once
@@ -70,6 +73,7 @@ Version 3.4a1
- Asking for an HTML report with no files now shows a nice error message rather
than a cryptic failure ('int' object is unsubscriptable). Fixes `issue 59`_.
+.. _issue 1: http://bitbucket.org/ned/coveragepy/issue/1/empty-__init__py-files-are-reported-as-1-executable
.. _issue 34: http://bitbucket.org/ned/coveragepy/issue/34/enhanced-omit-globbing-handling
.. _issue 36: http://bitbucket.org/ned/coveragepy/issue/36/provide-regex-style-omit
.. _issue 46: http://bitbucket.org/ned/coveragepy/issue/46