summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/trio-websocket/trio-websocket-0.11.1.ebuild14
1 files changed, 13 insertions, 1 deletions
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
}