summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorreybog90 <reybog90@o2.pl>2019-10-30 20:04:20 +0100
committerNed Batchelder <ned@nedbatchelder.com>2019-11-01 06:36:13 -0400
commit9b11268c358040abf7384702c3bc0e863ab753c5 (patch)
treee657af6f7eb583354f41c455bee639aaaf9a39fa /tests/test_api.py
parent49e06d33ea63d8e3e44ab5b69d713783551dfaa9 (diff)
downloadpython-coveragepy-git-9b11268c358040abf7384702c3bc0e863ab753c5.tar.gz
Optionally skip empty files in reports
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index b2143548..6455d097 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -904,7 +904,8 @@ class TestRunnerPluginTest(CoverageTest):
cov.combine()
cov.save()
report = StringIO()
- cov.report(show_missing=None, ignore_errors=True, file=report, skip_covered=None)
+ cov.report(show_missing=None, ignore_errors=True, file=report, skip_covered=None,
+ skip_empty=None)
self.assertEqual(report.getvalue(), textwrap.dedent("""\
Name Stmts Miss Cover
-----------------------------