Skip to content

Commit 3aa43a0

Browse files
committed
Be more strict - return None so problems like #348 will trip up the later None check.
1 parent a078b55 commit 3aa43a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_cov/engine.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def sep(stream, s, txt):
101101

102102
def summary(self, stream):
103103
"""Produce coverage reports."""
104-
total = 0
104+
total = None
105105

106106
if not self.cov_report:
107107
with _backup(self.cov, "config"):

0 commit comments

Comments
 (0)