mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
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:
@@ -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}"
|
||||
}
|
||||
Reference in New Issue
Block a user