diff --git a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild index 3660463caceaf..ebd2b8b853b50 100644 --- a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild +++ b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} pypy3 ) +PYTHON_COMPAT=( python3_{7..10} pypy3 ) inherit distutils-r1 DESCRIPTION="Easily freeze time in pytest test + fixtures" @@ -20,9 +20,4 @@ RDEPEND=" dev-python/freezegun[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}]" -distutils_enable_tests pytest - -python_test() { - distutils_install_for_testing - pytest -vv || die "Tests failed with ${EPYTHON}" -} +distutils_enable_tests --install pytest