From 13440a2da516a0c9794bd0bb1e8a7968254dc9a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 28 Feb 2020 06:56:47 +0100 Subject: [PATCH] dev-python/parso: Disable failing error tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Disable error tests that started failing with Python 3.8.2 as they depend on exact exception messages. Signed-off-by: Michał Górny --- dev-python/parso/parso-0.6.1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) 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 +} -- 2.26.2