summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/more-itertools')
-rw-r--r--dev-python/more-itertools/more-itertools-4.2.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-python/more-itertools/more-itertools-4.2.0.ebuild b/dev-python/more-itertools/more-itertools-4.2.0.ebuild
index 2d2e252336d4..fe30c3ead7fc 100644
--- a/dev-python/more-itertools/more-itertools-4.2.0.ebuild
+++ b/dev-python/more-itertools/more-itertools-4.2.0.ebuild
@@ -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}"
}