Accepting request 687646 from devel:languages:python

- Skip failing tests in OBS due to the speed of CPUs there

OBS-URL: https://build.opensuse.org/request/show/687646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-brotlipy?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2019-03-22 14:13:22 +00:00 committed by Git OBS Bridge
commit 8e09ef0095
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 22 12:49:36 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Skip failing tests in OBS due to the speed of CPUs there
-------------------------------------------------------------------
Thu Feb 28 06:43:41 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -65,10 +65,11 @@ export CXXFLAGS="%{optflags}"
%install
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitearch}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest
# the skipped tests are benchmarks which can be flaky in OBS
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest -k 'not (test_streaming_compression or test_streaming_compression_flush)'
%files %{python_files}
%license LICENSE LICENSE.libbrotli