Skip to content

Commit 132a0c2

Browse files
committed
Loosen up assertion.
1 parent 51d5f53 commit 132a0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pytest_cov.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ def test_invalid_coverage_source(testdir):
707707
else:
708708
# newer `coverage report` errors on missing importts
709709
result.stderr.fnmatch_lines([
710-
'ERROR: Failed to generate report: No data to report.',
710+
'ERROR: Failed to generate report: No data to report.*',
711711
])
712712
assert result.ret != 0
713713

0 commit comments

Comments
 (0)