dev-python/geventhttpclient: enable py3.10, use epytest

Signed-off-by: Louis Sautier <sbraz@gentoo.org>
This commit is contained in:
Louis Sautier
2021-07-16 00:45:18 +02:00
parent 0b1991ceff
commit 6a09f687a0

View File

@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
PYTHON_COMPAT=( python3_{7..10} )
inherit distutils-r1
@@ -44,6 +44,6 @@ python_test() {
# Append to sys.path to avoid ImportError
# https://bugs.gentoo.org/667758
# Skip tests which require internet access
pytest --import-mode=append -vv ${skipped_tests[@]/#/--deselect } \
-m "not online" || die "Tests failed with ${EPYTHON}"
epytest --import-mode=append -vv ${skipped_tests[@]/#/--deselect } \
-m "not online"
}