14
0

Accepting request 1174877 from home:mcalabkova:branches:devel:languages:python:pytest

- Add pytest82.patch to fix functionality with the new pytest.

OBS-URL: https://build.opensuse.org/request/show/1174877
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=84
This commit is contained in:
2024-05-20 18:22:14 +00:00
committed by Git OBS Bridge
parent 5e1b7ab586
commit e11142f286
3 changed files with 54 additions and 1 deletions

View File

@@ -32,6 +32,8 @@ Summary: Extensions to the Python Standard Library Unit Testing Framework
License: MIT
URL: https://github.com/testing-cabal/testtools
Source0: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/testing-cabal/testtools/pull/373 Treat methodName="runTest" similar to unittest.TestCase
Patch: pytest82.patch
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
@@ -58,7 +60,7 @@ with unit tests in Python and come from many different sources. testtools
also ports recent unittest changes all the way back to Python 2.4.
%prep
%setup -q -n testtools-%{version}
%autosetup -p1 -n testtools-%{version}
%if !%{with test}
%build