dev-python/funcparserlib: Clean test code up
authorMichał Górny <mgorny@gentoo.org>
Sun, 14 Jul 2019 08:28:41 +0000 (10:28 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 14 Jul 2019 12:26:14 +0000 (14:26 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/funcparserlib/funcparserlib-0.3.6-r1.ebuild

index 721fe2f08ec28d62acae617ddab9a88d1fb167af..92c32a0482a35829125a31a4f955a23ccf663fd7 100644 (file)
@@ -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() {