dev-python/pytest-freezegun: Enable python3.10

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-05-07 23:06:53 +02:00
parent d030418412
commit 632119a7e1

View File

@@ -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