From: Michał Górny Date: Wed, 26 Apr 2017 15:53:52 +0000 (+0200) Subject: dev-python/venusian: Fix running tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7c9883a1c9b4b792309db5a39a10d7b2aea25af5;p=gentoo.git dev-python/venusian: Fix running tests Use 'setup.py nosetests' to run tests, as defined in tox.ini. This solves the problem of nosetests attempting to import files that fail to import by design. --- diff --git a/dev-python/venusian/venusian-1.0.ebuild b/dev-python/venusian/venusian-1.0.ebuild index c47432880160..512b8aec4726 100644 --- a/dev-python/venusian/venusian-1.0.ebuild +++ b/dev-python/venusian/venusian-1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -22,9 +22,8 @@ RDEPEND=" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] - >=dev-python/nose-exclude-0.1.9[${PYTHON_USEDEP}] ) - " + >=dev-python/nose-exclude-0.1.9[${PYTHON_USEDEP}] )" python_test() { - nosetests || die "Tests fail with ${EPYTHON}" + esetup.py nosetests }