Skip to content

Commit 102fdc7

Browse files
tsvikasionelmc
authored andcommitted
add heading to coverage reports
1 parent 1e54540 commit 102fdc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pytest_cov/plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ def pytest_runtestloop(self, session):
333333
# it for unit tests that don't need it
334334
from coverage.misc import CoverageException
335335

336+
self.cov_controller.sep(self.cov_report, '=', 'coverage report')
336337
try:
337338
self.cov_total = self.cov_controller.summary(self.cov_report)
338339
except CoverageException as exc:

0 commit comments

Comments
 (0)