Accepting request 701805 from home:mcepl:branches:devel:languages:python:pytest

- Add fix-test-fast.patch to avoid failing
  tests/test_normal.py::test_fast test on 32bit platform.

OBS-URL: https://build.opensuse.org/request/show/701805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2019-05-09 13:26:28 +00:00
committed by Git OBS Bridge
parent 815efe58da
commit 4f81430dff
3 changed files with 30 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/ionelmc/pytest-benchmark
Source: https://files.pythonhosted.org/packages/source/p/pytest-benchmark/pytest-benchmark-%{version}.tar.gz
Patch0: fix-test-fast.patch
BuildRequires: %{python_module aspectlib}
BuildRequires: %{python_module elasticsearch}
BuildRequires: %{python_module freezegun}
@@ -61,6 +62,7 @@ rounds that are calibrated to the chosen timer.
%prep
%setup -q -n pytest-benchmark-%{version}
%autopatch -p1
# skip cli tests as we use update-alternatives
rm -f tests/test_cli.py