diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2010-06-27 18:19:13 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-06-27 18:19:13 -0400 |
| commit | 555ecf22280e6849e36f680494157465c6c847e2 (patch) | |
| tree | 9ec2a21ad49b1d370dd393777d7639f86f1afaf8 /test/modules/pkg1 | |
| parent | 4e6f9294d025b0b3102f27a217f6c6dac5d110a4 (diff) | |
| download | python-coveragepy-git-555ecf22280e6849e36f680494157465c6c847e2.tar.gz | |
Empty python files (like __init__.py) are shown as having zero statements, not one. Fixes #1.
Diffstat (limited to 'test/modules/pkg1')
| -rw-r--r-- | test/modules/pkg1/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/modules/pkg1/__init__.py b/test/modules/pkg1/__init__.py index e69de29b..2dfeb9c1 100644 --- a/test/modules/pkg1/__init__.py +++ b/test/modules/pkg1/__init__.py @@ -0,0 +1,3 @@ +# This __init__.py has a module-level docstring, which is counted as a +# statement. +"""A simple package for testing with.""" |
