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 fe30c3ead7fc..fc733c79dd01 100644
--- a/dev-python/more-itertools/more-itertools-4.2.0.ebuild
+++ b/dev-python/more-itertools/more-itertools-4.2.0.ebuild
@@ -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}"
}