diff options
author | Louis Sautier <sbraz@gentoo.org> | 2018-07-18 00:11:21 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2018-07-18 00:13:15 +0200 |
commit | 3a40916f4ea7a761e4d73f747b31ddbc7f35185d (patch) | |
tree | 67ca6722d98cfb4e1dc463b69390e83630e70b13 /dev-python/more-itertools | |
parent | app-admin/lastpass-cli: remove old (diff) | |
download | gentoo-3a40916f4ea7a761e4d73f747b31ddbc7f35185d.tar.gz gentoo-3a40916f4ea7a761e4d73f747b31ddbc7f35185d.tar.bz2 gentoo-3a40916f4ea7a761e4d73f747b31ddbc7f35185d.zip |
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
Diffstat (limited to 'dev-python/more-itertools')
-rw-r--r-- | dev-python/more-itertools/more-itertools-4.2.0.ebuild | 3 |
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}" } |