dev-python/hypothesis: Use dift --via-root API

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-11-29 00:32:41 +01:00
parent 285f1c5cf2
commit e911312700

View File

@@ -48,11 +48,7 @@ python_prepare() {
}
python_test() {
local -x PYTHONPATH="${BUILD_DIR}/install/lib"
esetup.py install \
--root="${BUILD_DIR}/install" \
--install-lib=lib
distutils_install_for_testing --via-root
pytest -vv tests/cover tests/pytest tests/quality \
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
die "Tests fail with ${EPYTHON}"