dev-python/more-itertools: don't install .pytest_cache files

Commit 79489db15f changed the way tests
are run and resulted in .pytest_cache directories being installed in
site-packages/.
This will prevent those directories from being installed while still
fixing ImportMismatchError.

Bug: https://bugs.gentoo.org/661412
Package-Manager: Portage-2.3.43, Repoman-2.3.10
This commit is contained in:
Louis Sautier
2018-07-24 22:14:42 +02:00
parent 68b6374a93
commit 26ad781ea2

View File

@@ -37,7 +37,6 @@ python_compile_all() {
python_test() {
# Avoid ImportMismatchError, see https://bugs.gentoo.org/661412
cd "${BUILD_DIR}/lib" || die
py.test --doctest-modules more_itertools \
pytest --doctest-modules "${BUILD_DIR}"/lib/more_itertools \
|| die "tests fail with ${EPYTHON}"
}