commit: 7c9883a1c9b4b792309db5a39a10d7b2aea25af5 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Apr 26 15:53:52 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Apr 26 16:33:59 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c9883a1
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. dev-python/venusian/venusian-1.0.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-python/venusian/venusian-1.0.ebuild b/dev-python/venusian/venusian-1.0.ebuild index c4743288016..512b8aec472 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 }