summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-12-06 10:11:28 +0100
committerMichał Górny <mgorny@gentoo.org>2020-12-06 10:14:08 +0100
commit0a52a001766df4286c719b0d9c3016921c7f740b (patch)
tree375b590ab9170176dfc78f9d9c78973d50c6dee0 /dev-python/pytest-datadir
parentdev-python/libsass: Remove old (diff)
downloadgentoo-0a52a001766df4286c719b0d9c3016921c7f740b.tar.gz
gentoo-0a52a001766df4286c719b0d9c3016921c7f740b.tar.bz2
gentoo-0a52a001766df4286c719b0d9c3016921c7f740b.zip
dev-python/pytest-datadir: fix tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-datadir')
-rw-r--r--dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild b/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild
index 5707f6fa5b3b..12ceeb6ae7c8 100644
--- a/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild
+++ b/dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild
@@ -17,12 +17,7 @@ KEYWORDS="amd64 x86"
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
-distutils_enable_tests pytest
-
-python_test() {
- distutils_install_for_testing
- pytest -vv || die "Tests fail with ${EPYTHON}"
-}
+distutils_enable_tests --install pytest
python_install_all() {
distutils-r1_python_install