commit: 0a52a001766df4286c719b0d9c3016921c7f740b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 6 09:11:28 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 6 09:14:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a52a001
dev-python/pytest-datadir: fix tests
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pytest-datadir/pytest-datadir-1.3.1.ebuild | 7 +------
1 file changed, 1 insertion(+), 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 5707f6fa5b3..12ceeb6ae7c 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