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>
This commit is contained in:
Michał Górny
2024-06-19 19:21:30 +02:00
parent e619b403c3
commit aca656d931
@@ -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
}