From 92cf71f3b0e20c5f1424533611b89f4881ff0354 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 14 Jul 2019 10:28:41 +0200 Subject: [PATCH] dev-python/funcparserlib: Clean test code up MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/funcparserlib/funcparserlib-0.3.6-r1.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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() { -- 2.26.2