summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-06-19 18:13:18 +0200
committerMichał Górny <mgorny@gentoo.org>2024-06-19 19:21:30 +0200
commitaca656d931bc6dbd4d6c9783048d79ff3d64705e (patch)
treeb37fdc453decdb629df313baf98313d1e06bfe84 /dev-python
parente619b403c37a80f28ef489d00a3650390917de53 (diff)
downloadgentoo-aca656d931bc6dbd4d6c9783048d79ff3d64705e.tar.gz
gentoo-aca656d931bc6dbd4d6c9783048d79ff3d64705e.tar.bz2
gentoo-aca656d931bc6dbd4d6c9783048d79ff3d64705e.zip
dev-python/trio-websocket: Deselect tests broken by new trio
Closes: https://bugs.gentoo.org/927887 Signed-off-by: Michał Górny <mgorny@gentoo.org>
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
}