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