mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/more-itertools: don't run tests from ${S}
It makes more sense to run tests from the build directory. Bug: https://bugs.gentoo.org/661412 Package-Manager: Portage-2.3.43, Repoman-2.3.10
This commit is contained in:
@@ -37,6 +37,7 @@ python_compile_all() {
|
||||
|
||||
python_test() {
|
||||
# Avoid ImportMismatchError, see https://bugs.gentoo.org/661412
|
||||
PYTHONPATH=. py.test --doctest-modules more_itertools \
|
||||
cd "${BUILD_DIR}/lib" || die
|
||||
py.test --doctest-modules more_itertools \
|
||||
|| die "tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user