Accepting request 1088821 from devel:languages:python
- Run tests with pytest - Disable flaky test gh#python-websockets/websockets#1322 OBS-URL: https://build.opensuse.org/request/show/1088821 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-websockets?expand=0&rev=22
This commit is contained in:
commit
7ddf42e8ce
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 24 11:10:45 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Run tests with pytest
|
||||
- Disable flaky test gh#python-websockets/websockets#1322
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 14 18:45:02 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -55,12 +55,8 @@ export CFLAGS="%{optflags}"
|
||||
%check
|
||||
# Test execution speed depends on BS load and architecture, relax
|
||||
export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=10
|
||||
# https://github.com/aaugustin/websockets/issues/855 is an intermittent failure
|
||||
# for test_keepalive_ping_does_not_crash_when_connection_lost on s390x
|
||||
# export PYTHONWARNINGS=default
|
||||
# test suite temporarily broken on python 3.9.7: gh#aaugustin/websockets#1051
|
||||
python39_donttest=(-k testnothing)
|
||||
%pyunittest_arch -v "${$python_donttest[@]}"
|
||||
# Disable flaky tests gh#python-websockets/websockets#1322
|
||||
%pytest_arch -v -k "not test_close_waits_for_close_frame" tests
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user