commit:     f378f1ffb8388b94d09863f3a59796ce957fd968
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Dec  6 08:58:18 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec  6 09:14:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f378f1ff

dev-python/pytest-regressions: fix tests

Closes: https://bugs.gentoo.org/758737
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/18527
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-regressions/pytest-regressions-2.0.2.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/dev-python/pytest-regressions/pytest-regressions-2.0.2.ebuild 
b/dev-python/pytest-regressions/pytest-regressions-2.0.2.ebuild
index c182743328e..7517d909f5d 100644
--- a/dev-python/pytest-regressions/pytest-regressions-2.0.2.ebuild
+++ b/dev-python/pytest-regressions/pytest-regressions-2.0.2.ebuild
@@ -29,10 +29,5 @@ RDEPEND="
        dev-python/pyyaml[${PYTHON_USEDEP}]
 "
 
-distutils_enable_tests pytest
+distutils_enable_tests --install pytest
 distutils_enable_sphinx doc dev-python/sphinx_rtd_theme
-
-python_test() {
-       distutils_install_for_testing
-       pytest -vv || die "Tests failed with ${EPYTHON}"
-}

Reply via email to