From 340c4d6fc345968f552ae98a322b137804d1ba468c755a10d0e0661ee19b9fd2 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 28 Mar 2024 00:19:31 +0000 Subject: [PATCH] - Skip some broken tests with trio >= 0.25 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trio-websocket?expand=0&rev=6 --- python-trio-websocket.changes | 5 +++++ python-trio-websocket.spec | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/python-trio-websocket.changes b/python-trio-websocket.changes index 1e659b6..16d8450 100644 --- a/python-trio-websocket.changes +++ b/python-trio-websocket.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 28 00:18:44 UTC 2024 - Steve Kowalik + +- Skip some broken tests with trio >= 0.25 + ------------------------------------------------------------------- Wed Dec 13 10:31:49 UTC 2023 - Dirk Müller diff --git a/python-trio-websocket.spec b/python-trio-websocket.spec index ad65822..49643a7 100644 --- a/python-trio-websocket.spec +++ b/python-trio-websocket.spec @@ -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