dev-python/pytest-subtesthack: Enable py3.{7,8}, modernize

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-04-25 20:19:48 +02:00
parent d888a61eff
commit 8024ec5154

View File

@@ -1,9 +1,11 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="A hack for test fixtures, needed for hypothesis inside py.test"
@@ -27,5 +29,5 @@ DEPEND="${RDEPEND}
python_test() {
distutils_install_for_testing
py.test -v || die "Tests fail with ${EPYTHON}"
pytest -vv || die "Tests fail with ${EPYTHON}"
}