forked from pool/python-pytest-cov
Accepting request 1311170 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1311170 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cov?expand=0&rev=36
This commit is contained in:
27
0001-match-coverage-7.10.7-warnings.patch
Normal file
27
0001-match-coverage-7.10.7-warnings.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
From b4fb003e3b6634cfc0db07aaf1e29cf6a94f037a Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= <meggy.calabkova@gmail.com>
|
||||
Date: Mon, 13 Oct 2025 16:12:57 +0200
|
||||
Subject: [PATCH] match coverage 7.10.7 warnings
|
||||
|
||||
---
|
||||
tests/test_pytest_cov.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
|
||||
index 6ca09fe..c71d776 100644
|
||||
--- a/tests/test_pytest_cov.py
|
||||
+++ b/tests/test_pytest_cov.py
|
||||
@@ -1435,8 +1435,8 @@ def test_filterwarnings_error(testdir):
|
||||
result.stdout.fnmatch_lines(['* 1 passed *'])
|
||||
result.stderr.fnmatch_lines(
|
||||
[
|
||||
- '* (module-not-measured)',
|
||||
- '* (no-data-collected)',
|
||||
+ '* (module-not-measured)*',
|
||||
+ '* (no-data-collected)*',
|
||||
'* CovReportWarning: Failed to generate report: No data to report.',
|
||||
]
|
||||
)
|
||||
--
|
||||
2.51.0
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 13 14:15:34 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Add 0001-match-coverage-7.10.7-warnings.patch to fix tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 19 08:43:55 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -32,6 +32,8 @@ Summary: Pytest plugin for coverage reporting
|
||||
License: MIT
|
||||
URL: https://github.com/pytest-dev/pytest-cov
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-cov/pytest_cov-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM https://github.com/pytest-dev/pytest-cov/pull/722 match coverage 7.10.7 warnings
|
||||
Patch0: 0001-match-coverage-7.10.7-warnings.patch
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module hatch-fancy-pypi-readme}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
|
||||
Reference in New Issue
Block a user