From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1037144-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 638C9138334
	for <garchives@archives.gentoo.org>; Tue, 17 Jul 2018 22:13:27 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3AA24E0B23;
	Tue, 17 Jul 2018 22:13:26 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 16D30E0B23
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Jul 2018 22:13:26 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 3F863335C7A
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Jul 2018 22:13:25 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C5F6370
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Jul 2018 22:13:23 +0000 (UTC)
From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" <sbraz@gentoo.org>
Message-ID: <1531865595.3a40916f4ea7a761e4d73f747b31ddbc7f35185d.sbraz@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/more-itertools/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/more-itertools/more-itertools-4.2.0.ebuild
X-VCS-Directories: dev-python/more-itertools/
X-VCS-Committer: sbraz
X-VCS-Committer-Name: Louis Sautier
X-VCS-Revision: 3a40916f4ea7a761e4d73f747b31ddbc7f35185d
X-VCS-Branch: master
Date: Tue, 17 Jul 2018 22:13:23 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: c75b3e84-6d68-4af2-a41f-28a2bda4dc17
X-Archives-Hash: f586e88aacc308bac21878cf69d0d794

commit:     3a40916f4ea7a761e4d73f747b31ddbc7f35185d
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 17 22:11:21 2018 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Tue Jul 17 22:13:15 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a40916f

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

 dev-python/more-itertools/more-itertools-4.2.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 2d2e252336d..fe30c3ead7f 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}"
 }