From: Michał Górny Date: Fri, 28 Feb 2020 05:56:47 +0000 (+0100) Subject: dev-python/parso: Disable failing error tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=13440a2da516a0c9794bd0bb1e8a7968254dc9a9;p=gentoo.git dev-python/parso: Disable failing error tests Disable error tests that started failing with Python 3.8.2 as they depend on exact exception messages. Signed-off-by: Michał Górny --- diff --git a/dev-python/parso/parso-0.6.1.ebuild b/dev-python/parso/parso-0.6.1.ebuild index d33ced31acc5..d9dff2d95d49 100644 --- a/dev-python/parso/parso-0.6.1.ebuild +++ b/dev-python/parso/parso-0.6.1.ebuild @@ -19,3 +19,11 @@ RESTRICT="!test? ( test )" distutils_enable_sphinx docs distutils_enable_tests pytest + +src_prepare() { + # tests rely on specific exception messages and fail occasionally + # upstream suggested skipping them + rm test/test_python_errors.py || die + + distutils-r1_src_prepare +}