summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-08-05 05:17:29 +0000
committerSam James <sam@gentoo.org>2020-08-05 05:17:29 +0000
commit42b115dca716457c445021b9d026d79d8869e553 (patch)
treeddab0dd3f23279d56f17dc76be66a93bd03e36d1 /dev-python/configobj/configobj-5.0.6-r1.ebuild
parentdev-python/configobj: Various fixes (diff)
downloadgentoo-42b115dca716457c445021b9d026d79d8869e553.tar.gz
gentoo-42b115dca716457c445021b9d026d79d8869e553.tar.bz2
gentoo-42b115dca716457c445021b9d026d79d8869e553.zip
dev-python/configobj: run tests via pytest instead
Upstream make use of some Pytest-specific functionality. We adjust the patch accordingly. Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/configobj/configobj-5.0.6-r1.ebuild')
-rw-r--r--dev-python/configobj/configobj-5.0.6-r1.ebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev-python/configobj/configobj-5.0.6-r1.ebuild b/dev-python/configobj/configobj-5.0.6-r1.ebuild
index 469eee85be8..c530f28451b 100644
--- a/dev-python/configobj/configobj-5.0.6-r1.ebuild
+++ b/dev-python/configobj/configobj-5.0.6-r1.ebuild
@@ -20,6 +20,4 @@ RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
PATCHES=( "${FILESDIR}/${P}-fix-py2-tests.patch" )
-python_test() {
- "${EPYTHON}" validate.py -v || die "Tests fail with ${EPYTHON}"
-}
+distutils_enable_tests pytest