From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-843325-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id A75641388C1
	for <garchives@archives.gentoo.org>; Sat, 31 Oct 2015 10:26:03 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 703C8E080D;
	Sat, 31 Oct 2015 10:26:01 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2060EE080D
	for <gentoo-commits@lists.gentoo.org>; Sat, 31 Oct 2015 10:26:01 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0435A340A89
	for <gentoo-commits@lists.gentoo.org>; Sat, 31 Oct 2015 10:25:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B9D01C04
	for <gentoo-commits@lists.gentoo.org>; Sat, 31 Oct 2015 10:25:54 +0000 (UTC)
From: "Justin Lecher" <jlec@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, "Justin Lecher" <jlec@gentoo.org>
Message-ID: <1446287152.81a9e5bc3fae689a5d0e3ae28c31791b546b2682.jlec@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/scipy/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-libs/scipy/scipy-0.16.1.ebuild
X-VCS-Directories: sci-libs/scipy/
X-VCS-Committer: jlec
X-VCS-Committer-Name: Justin Lecher
X-VCS-Revision: 81a9e5bc3fae689a5d0e3ae28c31791b546b2682
X-VCS-Branch: master
Date: Sat, 31 Oct 2015 10:25:54 +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: 4eb7f1b5-b478-4b0c-b479-90e0695e7a8c
X-Archives-Hash: c8419aa941754c295a75d6b5efc161fe

commit:     81a9e5bc3fae689a5d0e3ae28c31791b546b2682
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 31 10:20:09 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Oct 31 10:25:52 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81a9e5bc

sci-libs/scipy: Correct tests to not fail on warning

Github: scipy/scipy#5426

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-libs/scipy/scipy-0.16.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-libs/scipy/scipy-0.16.1.ebuild b/sci-libs/scipy/scipy-0.16.1.ebuild
index de2289b..07d9730 100644
--- a/sci-libs/scipy/scipy-0.16.1.ebuild
+++ b/sci-libs/scipy/scipy-0.16.1.ebuild
@@ -119,9 +119,13 @@ python_test() {
 	"${PYTHON}" -c \
 		'import numpy as np; print("relaxed strides checking:", np.ones((10,1),order="C").flags.f_contiguous)' \
 		|| die
+	# https://github.com/scipy/scipy/issues/5426
 	"${EPYTHON}" -c \
-		"import scipy, sys; r = scipy.test('fast',verbose=2); sys.exit(0 if r.wasSuccessful() else 1)" \
+		"import scipy, sys; r = scipy.test('fast', verbose=2, raise_warnings='release'); sys.exit(0 if r.wasSuccessful() else 1)" \
 		|| die "Tests fail with ${EPYTHON}"
+#	"${EPYTHON}" -c \
+#		"import scipy, sys; r = scipy.test('fast',verbose=2); sys.exit(0 if r.wasSuccessful() else 1)" \
+#		|| die "Tests fail with ${EPYTHON}"
 }
 
 python_install_all() {