1 |
commit: 81a9e5bc3fae689a5d0e3ae28c31791b546b2682 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 31 10:20:09 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 31 10:25:52 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81a9e5bc |
7 |
|
8 |
sci-libs/scipy: Correct tests to not fail on warning |
9 |
|
10 |
Github: scipy/scipy#5426 |
11 |
|
12 |
Package-Manager: portage-2.2.23 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
sci-libs/scipy/scipy-0.16.1.ebuild | 6 +++++- |
16 |
1 file changed, 5 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/sci-libs/scipy/scipy-0.16.1.ebuild b/sci-libs/scipy/scipy-0.16.1.ebuild |
19 |
index de2289b..07d9730 100644 |
20 |
--- a/sci-libs/scipy/scipy-0.16.1.ebuild |
21 |
+++ b/sci-libs/scipy/scipy-0.16.1.ebuild |
22 |
@@ -119,9 +119,13 @@ python_test() { |
23 |
"${PYTHON}" -c \ |
24 |
'import numpy as np; print("relaxed strides checking:", np.ones((10,1),order="C").flags.f_contiguous)' \ |
25 |
|| die |
26 |
+ # https://github.com/scipy/scipy/issues/5426 |
27 |
"${EPYTHON}" -c \ |
28 |
- "import scipy, sys; r = scipy.test('fast',verbose=2); sys.exit(0 if r.wasSuccessful() else 1)" \ |
29 |
+ "import scipy, sys; r = scipy.test('fast', verbose=2, raise_warnings='release'); sys.exit(0 if r.wasSuccessful() else 1)" \ |
30 |
|| die "Tests fail with ${EPYTHON}" |
31 |
+# "${EPYTHON}" -c \ |
32 |
+# "import scipy, sys; r = scipy.test('fast',verbose=2); sys.exit(0 if r.wasSuccessful() else 1)" \ |
33 |
+# || die "Tests fail with ${EPYTHON}" |
34 |
} |
35 |
|
36 |
python_install_all() { |