Fix issue with test code where it expected too specific of a string, that string changed slightly with coverage 6.2, fix adjusts string check to be more permissive and work with both old and new coverage
parent
652ed8d470
commit
103718b41f
@ -0,0 +1,12 @@
|
||||
diff -up pytest-cov-3.0.0/tests/test_pytest_cov.py.cov62 pytest-cov-3.0.0/tests/test_pytest_cov.py
|
||||
--- pytest-cov-3.0.0/tests/test_pytest_cov.py.cov62 2021-12-09 13:54:38.736407865 -0500
|
||||
+++ pytest-cov-3.0.0/tests/test_pytest_cov.py 2021-12-09 13:54:41.432423997 -0500
|
||||
@@ -968,7 +968,7 @@ def test_invalid_coverage_source(testdir
|
||||
'*10 passed*'
|
||||
])
|
||||
result.stderr.fnmatch_lines([
|
||||
- 'Coverage.py warning: No data was collected.*'
|
||||
+ '*No data was collected.*'
|
||||
])
|
||||
result.stdout.fnmatch_lines([
|
||||
'*Failed to generate report: No data to report.',
|
Loading…
Reference in new issue