- Add patch support-pytest-cov-6.patch:

* Support pytest output change.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-tldr?expand=0&rev=16
This commit is contained in:
2025-07-04 05:43:54 +00:00
committed by Git OBS Bridge
parent 9f46a87049
commit b997e2db2a
3 changed files with 22 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
Index: pytest-tldr-0.2.5/tests/test_plugins.py
===================================================================
--- pytest-tldr-0.2.5.orig/tests/test_plugins.py
+++ pytest-tldr-0.2.5/tests/test_plugins.py
@@ -10,7 +10,7 @@ def test_coverage(testdir):
result.stdout.fnmatch_lines(
[
"test_coverage.py::test_coverage ... ok",
- "*----- coverage: platform *-----",
+ "*_____ coverage: platform *_____",
"Name Stmts Miss Cover",
"--------------------------------------",
"test_coverage.py 2 0 100%",