dev-python/more-itertools: fix tests by avoiding ImportMismatchError

Closes: https://bugs.gentoo.org/661412
Package-Manager: Portage-2.3.43, Repoman-2.3.10
This commit is contained in:
Louis Sautier
2018-07-18 00:11:21 +02:00
parent a5831a17c9
commit 3a40916f4e

View File

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