From: Michał Górny Date: Sun, 14 Jul 2019 08:28:41 +0000 (+0200) Subject: dev-python/funcparserlib: Clean test code up X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=92cf71f3b0e20c5f1424533611b89f4881ff0354;p=gentoo.git dev-python/funcparserlib: Clean test code up Signed-off-by: Michał Górny --- diff --git a/dev-python/funcparserlib/funcparserlib-0.3.6-r1.ebuild b/dev-python/funcparserlib/funcparserlib-0.3.6-r1.ebuild index 721fe2f08ec2..92c32a0482a3 100644 --- a/dev-python/funcparserlib/funcparserlib-0.3.6-r1.ebuild +++ b/dev-python/funcparserlib/funcparserlib-0.3.6-r1.ebuild @@ -14,15 +14,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="test" +IUSE="" RDEPEND="" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" python_test() { - local m=unittest cd "${BUILD_DIR}"/lib || die - "${PYTHON}" -m ${m} discover || die "Tests fail with ${EPYTHON}" + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } python_install_all() {