forked from pool/python-pytest-benchmark
- Modify the py311.patch to fix the test_abort_broken test, instead of
disabling. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=24
This commit is contained in:
@@ -71,9 +71,7 @@ sed -i -e '/test_fast PASSED/d' -e '/test_fast SKIPPED/d' tests/test_benchmark.p
|
||||
%python_clone -a %{buildroot}%{_bindir}/py.test-benchmark
|
||||
|
||||
%check
|
||||
# gh#ionelmc/pytest-benchmark#231
|
||||
donttest="test_abort_broken"
|
||||
%pytest tests -k "not $donttest"
|
||||
%pytest tests
|
||||
|
||||
%post
|
||||
%{python_install_alternative pytest-benchmark py.test-benchmark}
|
||||
|
||||
Reference in New Issue
Block a user