diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2011-03-20 18:59:58 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2011-03-20 18:59:58 -0400 |
| commit | 43037fc52ef24ede2f7237af44c56cddb9701481 (patch) | |
| tree | 742dc14335a1ea95a383ce72c33dcca186b40c84 /test/test_summary.py | |
| parent | 077d39eed98851e0232e208be832e4a77dee878c (diff) | |
| download | python-coveragepy-git-43037fc52ef24ede2f7237af44c56cddb9701481.tar.gz | |
All tests should restore sys.path
Diffstat (limited to 'test/test_summary.py')
| -rw-r--r-- | test/test_summary.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_summary.py b/test/test_summary.py index 5a689129..6711decf 100644 --- a/test/test_summary.py +++ b/test/test_summary.py @@ -141,6 +141,8 @@ class SummaryTest2(CoverageTest): sys.path.append(self.nice_file(os.path.dirname(__file__), 'modules')) def test_empty_files(self): + # Shows that empty files like __init__.py are listed as having zero + # statements, not one statement. cov = coverage.coverage() cov.start() import usepkgs # pylint: disable=F0401,W0612 |
