Accepting request 843235 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/843235
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyzmq?expand=0&rev=42
This commit is contained in:
Dominique Leuenberger 2020-10-29 08:48:41 +00:00 committed by Git OBS Bridge
commit 01ae17bc51
2 changed files with 17 additions and 4 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Oct 14 13:59:04 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Skip failing tests (gh#zeromq/pyzmq#1431 or gh#zeromq/pyzmq#1432)
-------------------------------------------------------------------
Wed Oct 14 10:21:34 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Use pytest_arch macro instead of the construct we had there.
-------------------------------------------------------------------
Thu Sep 24 15:46:33 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>

View File

@ -99,10 +99,13 @@ export CFLAGS="%{optflags}"
%if %{with tests}
%check
export LANG=en_US.UTF-8
%python_exec setup.py build_ext --inplace
timeout 5m bash -c '
%pytest
'
# skipped tests because of gh#zeromq/pyzmq#1431
SKIPPED_TESTS="test_buffer_numpy or test_bytes or test_curve or test_frame_more or "
SKIPPED_TESTS+="test_large_send or test_lifecycle1 or test_lifecycle2 or "
SKIPPED_TESTS+="test_memoryview_shape or test_multi_tracker or test_plain or test_tracker"
# gh#zeromq/pyzmq#1432
SKIPPED_TESTS+=" or TestSocketGreen"
%pytest_arch -k "not (${SKIPPED_TESTS})"
%endif
%files %{python_files}