summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-07-14 10:28:41 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-14 14:26:14 +0200
commit92cf71f3b0e20c5f1424533611b89f4881ff0354 (patch)
treeadaa0eb9cdaa08876411a4cca77113eb3f933710 /dev-python/funcparserlib
parentdev-python/funcparserlib: Bump to EAPI=7 (diff)
downloadgentoo-92cf71f3b0e20c5f1424533611b89f4881ff0354.tar.gz
gentoo-92cf71f3b0e20c5f1424533611b89f4881ff0354.tar.bz2
gentoo-92cf71f3b0e20c5f1424533611b89f4881ff0354.zip
dev-python/funcparserlib: Clean test code up
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/funcparserlib')
-rw-r--r--dev-python/funcparserlib/funcparserlib-0.3.6-r1.ebuild5
1 files 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() {