- add upstream patch to test with pytest5 - fix_tests.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=11
This commit is contained in:
2019-07-18 08:53:17 +00:00
committed by Git OBS Bridge
parent 8b4c7c2210
commit 5c4df46496
3 changed files with 53 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ Group: Development/Languages/Python
URL: https://github.com/pytest-dev/pytest-mock
Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/pytest-mock-%{version}.tar.gz
Patch0: mock30.patch
Patch1: fix_tests.patch
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 36}
BuildRequires: %{python_module setuptools_scm}
@@ -51,7 +52,7 @@ of a test
%prep
%setup -q -n pytest-mock-%{version}
%patch0 -p1
%autopatch -p1
%build
%python_build