From: Mike Gilbert Date: Sat, 18 Feb 2017 17:58:00 +0000 (-0500) Subject: dev-python/pytest-xdist: disable test_xfail_passes X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e0b27b25f4be451746bc7a8ec20502eceb6f9a59;p=gentoo.git dev-python/pytest-xdist: disable test_xfail_passes This fails due to some pexpect error. Package-Manager: Portage-2.3.3_p56, Repoman-2.3.1_p49 --- diff --git a/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild b/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild index 27409543e609..1545035ed34a 100644 --- a/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild +++ b/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild @@ -26,16 +26,24 @@ DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] dev-python/setuptools_scm[${PYTHON_USEDEP}] test? ( - dev-python/pexpect[${PYTHON_USEDEP}] dev-python/pyflakes[${PYTHON_USEDEP}] dev-python/readme[${PYTHON_USEDEP}] ) " +# Optional test dep: +# dev-python/pexpect[${PYTHON_USEDEP}] + PATCHES=( "${FILESDIR}"/1.15.0-test_manytests_to_one_import_error.patch ) +python_prepare_all() { + # pexpect fail + sed -i -e 's/test_xfail_passes/_&/' testing/test_looponfail.py + distutils-r1_python_prepare_all +} + python_test() { distutils_install_for_testing py.test -vv || die "Tests failed under ${EPYTHON}"