mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 05:57:07 -08:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user