diff options
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 |