commit:     aca656d931bc6dbd4d6c9783048d79ff3d64705e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 19 16:13:18 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 19 17:21:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca656d9

dev-python/trio-websocket: Deselect tests broken by new trio

Closes: https://bugs.gentoo.org/927887
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/trio-websocket/trio-websocket-0.11.1.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
index fc8389fa3907..68e77b5a7db0 100644
--- a/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -39,6 +39,18 @@ BDEPEND="
 distutils_enable_tests pytest
 
 python_test() {
+       local EPYTEST_DESELECT=(
+               # exception tests are broken with trio-0.25
+               # https://github.com/python-trio/trio-websocket/issues/187
+               tests/test_connection.py::test_handshake_exception_before_accept
+               tests/test_connection.py::test_reject_handshake
+               
tests/test_connection.py::test_reject_handshake_invalid_info_status
+               tests/test_connection.py::test_client_open_timeout
+               tests/test_connection.py::test_client_close_timeout
+               tests/test_connection.py::test_client_connect_networking_error
+               tests/test_connection.py::test_finalization_dropped_exception
+       )
+
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        epytest -p trio
 }

Reply via email to