diff --git a/dev-python/hypothesis/hypothesis-5.37.5.ebuild b/dev-python/hypothesis/hypothesis-5.37.5.ebuild index a18c69ab7a350..18d37e55ce1b4 100644 --- a/dev-python/hypothesis/hypothesis-5.37.5.ebuild +++ b/dev-python/hypothesis/hypothesis-5.37.5.ebuild @@ -48,6 +48,11 @@ python_prepare() { } python_test() { + local -x PYTHONPATH="${BUILD_DIR}/install/lib" + esetup.py install \ + --root="${BUILD_DIR}/install" \ + --install-lib=lib + pytest -vv tests/cover tests/pytest tests/quality \ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/hypothesis/hypothesis-5.41.3.ebuild b/dev-python/hypothesis/hypothesis-5.41.3.ebuild index b817839fd0ac5..a3cf894856ae4 100644 --- a/dev-python/hypothesis/hypothesis-5.41.3.ebuild +++ b/dev-python/hypothesis/hypothesis-5.41.3.ebuild @@ -48,6 +48,11 @@ python_prepare() { } python_test() { + local -x PYTHONPATH="${BUILD_DIR}/install/lib" + esetup.py install \ + --root="${BUILD_DIR}/install" \ + --install-lib=lib + pytest -vv tests/cover tests/pytest tests/quality \ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || die "Tests fail with ${EPYTHON}"