commit: 2830e9eafb13cd2c2b2820a07a3e6a0f51d32e8d Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Apr 8 10:10:12 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Apr 8 11:09:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2830e9ea
dev-python/websockets: Switch to pytest for easier deselects Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/websockets/websockets-10.2.ebuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/dev-python/websockets/websockets-10.2.ebuild b/dev-python/websockets/websockets-10.2.ebuild index e43c8d5084ee..729159c20d01 100644 --- a/dev-python/websockets/websockets-10.2.ebuild +++ b/dev-python/websockets/websockets-10.2.ebuild @@ -18,12 +18,8 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" -distutils_enable_tests unittest +distutils_enable_tests pytest -src_prepare() { - # these fail due to timeouts on slower hardware - sed -e 's:test_keepalive_ping_with_no_ping_timeout:_&:' \ - -e 's:test_keepalive_ping(:_&:' \ - -i tests/legacy/test_protocol.py || die - distutils-r1_src_prepare +python_test() { + epytest tests }