14
0

Accepting request 1163162 from devel:languages:python

- Skip some broken tests with trio >= 0.25

OBS-URL: https://build.opensuse.org/request/show/1163162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-trio-websocket?expand=0&rev=3
This commit is contained in:
2024-03-28 12:54:55 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 28 00:18:44 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Skip some broken tests with trio >= 0.25
-------------------------------------------------------------------
Wed Dec 13 10:31:49 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-trio-websocket
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -61,7 +61,11 @@ cp %{SOURCE1} .
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# https://github.com/python-trio/trio-websocket/issues/187
donttest="test_handshake_exception_before_accept or test_reject_handshake"
donttest+=" or test_client_open_timeout or test_client_close_timeout"
donttest+=" or test_client_connect_networking_error or test_finalization_dropped_exception"
%pytest -k "not ($donttest)"
%files %{python_files}
%doc README.md