diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch')
-rw-r--r-- | dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch b/dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch new file mode 100644 index 000000000000..b44326d8b60d --- /dev/null +++ b/dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch @@ -0,0 +1,30 @@ +From 6d06678a76d9275beb48917d7653ea6a610c7717 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sun, 23 Jan 2022 15:03:35 +0100 +Subject: [PATCH] Update test_invalid_coverage_source for coverage-6.2 + +Update test_invalid_coverage_source to make the "No data was collected" +less strict, as the output has changed in coverage-6.2. This solution +was suggested by Tom Callaway (@spotrh) on the linked bug. + +Fixes #509 +--- + tests/test_pytest_cov.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py +index f93d352..6d97949 100644 +--- a/tests/test_pytest_cov.py ++++ b/tests/test_pytest_cov.py +@@ -981,7 +981,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.', +-- +2.34.1 + |