Ticket #30280: py27-numpy+scipy-tests.txt

File py27-numpy+scipy-tests.txt, 27.5 KB (added by faisal.moledina@…, 13 years ago)

numpy.test() and scipy.test() for py27 ports + vince' atlas fix

Line 
1$ python
2Python 2.7.2 (default, Jul 21 2011, 00:10:48)
3[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
4Type "help", "copyright", "credits" or "license" for more information.
5>>> import numpy
6>>> numpy.test()
7Running unit tests for numpy
8NumPy version 1.6.1
9NumPy is installed in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy
10Python version 2.7.2 (default, Jul 21 2011, 00:10:48) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
11nose version 1.0.0
12..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K.................................................................................................K......................K...........FFFFFFF...F./opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_umath_complex.py:364: RuntimeWarning: invalid value encountered in sqrt
13  z = np.sqrt(np.array(np.complex(-np.inf, np.nan)))
14...................................................................................S...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
15======================================================================
16FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, 1, inf, inf, inf)
17----------------------------------------------------------------------
18Traceback (most recent call last):
19  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
20    self.test(*self.arg)
21  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
22    assert_equal(f(z1), z2)
23  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 256, in assert_equal
24    return assert_array_equal(actual, desired, err_msg, verbose)
25  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
26    verbose=verbose, header='Arrays are not equal')
27  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
28    chk_same_position(x_id, y_id, hasval='nan')
29  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
30    raise AssertionError(msg)
31AssertionError:
32Arrays are not equal
33
34x and y nan location mismatch:
35 x: array([ nan+infj])
36 y: array((inf+infj))
37
38======================================================================
39FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, -1, inf, inf, inf)
40----------------------------------------------------------------------
41Traceback (most recent call last):
42  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
43    self.test(*self.arg)
44  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
45    assert_equal(f(z1), z2)
46  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 256, in assert_equal
47    return assert_array_equal(actual, desired, err_msg, verbose)
48  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
49    verbose=verbose, header='Arrays are not equal')
50  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
51    chk_same_position(x_id, y_id, hasval='nan')
52  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
53    raise AssertionError(msg)
54AssertionError:
55Arrays are not equal
56
57x and y nan location mismatch:
58 x: array([ nan+infj])
59 y: array((inf+infj))
60
61======================================================================
62FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, 0.0, inf, inf, inf)
63----------------------------------------------------------------------
64Traceback (most recent call last):
65  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
66    self.test(*self.arg)
67  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
68    assert_equal(f(z1), z2)
69  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 256, in assert_equal
70    return assert_array_equal(actual, desired, err_msg, verbose)
71  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
72    verbose=verbose, header='Arrays are not equal')
73  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
74    chk_same_position(x_id, y_id, hasval='nan')
75  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
76    raise AssertionError(msg)
77AssertionError:
78Arrays are not equal
79
80x and y nan location mismatch:
81 x: array([ nan+infj])
82 y: array((inf+infj))
83
84======================================================================
85FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, -0.0, inf, inf, inf)
86----------------------------------------------------------------------
87Traceback (most recent call last):
88  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
89    self.test(*self.arg)
90  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
91    assert_equal(f(z1), z2)
92  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 256, in assert_equal
93    return assert_array_equal(actual, desired, err_msg, verbose)
94  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
95    verbose=verbose, header='Arrays are not equal')
96  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
97    chk_same_position(x_id, y_id, hasval='nan')
98  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
99    raise AssertionError(msg)
100AssertionError:
101Arrays are not equal
102
103x and y nan location mismatch:
104 x: array([ nan+infj])
105 y: array((inf+infj))
106
107======================================================================
108FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, inf, inf, inf, inf)
109----------------------------------------------------------------------
110Traceback (most recent call last):
111  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
112    self.test(*self.arg)
113  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
114    assert_equal(f(z1), z2)
115  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 256, in assert_equal
116    return assert_array_equal(actual, desired, err_msg, verbose)
117  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
118    verbose=verbose, header='Arrays are not equal')
119  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
120    chk_same_position(x_id, y_id, hasval='nan')
121  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
122    raise AssertionError(msg)
123AssertionError:
124Arrays are not equal
125
126x and y nan location mismatch:
127 x: array([ nan+infj])
128 y: array((inf+infj))
129
130======================================================================
131FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, -inf, inf, inf, inf)
132----------------------------------------------------------------------
133Traceback (most recent call last):
134  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
135    self.test(*self.arg)
136  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
137    assert_equal(f(z1), z2)
138  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 256, in assert_equal
139    return assert_array_equal(actual, desired, err_msg, verbose)
140  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
141    verbose=verbose, header='Arrays are not equal')
142  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
143    chk_same_position(x_id, y_id, hasval='nan')
144  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
145    raise AssertionError(msg)
146AssertionError:
147Arrays are not equal
148
149x and y nan location mismatch:
150 x: array([ nan+infj])
151 y: array((inf+infj))
152
153======================================================================
154FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, nan, inf, inf, inf)
155----------------------------------------------------------------------
156Traceback (most recent call last):
157  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
158    self.test(*self.arg)
159  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
160    assert_equal(f(z1), z2)
161  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 256, in assert_equal
162    return assert_array_equal(actual, desired, err_msg, verbose)
163  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
164    verbose=verbose, header='Arrays are not equal')
165  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
166    chk_same_position(x_id, y_id, hasval='nan')
167  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
168    raise AssertionError(msg)
169AssertionError:
170Arrays are not equal
171
172x and y nan location mismatch:
173 x: array([ nan+infj])
174 y: array((inf+infj))
175
176======================================================================
177FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, -inf, 1, 0.0, inf)
178----------------------------------------------------------------------
179Traceback (most recent call last):
180  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
181    self.test(*self.arg)
182  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
183    assert_equal(f(z1), z2)
184  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 256, in assert_equal
185    return assert_array_equal(actual, desired, err_msg, verbose)
186  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
187    verbose=verbose, header='Arrays are not equal')
188  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
189    chk_same_position(x_id, y_id, hasval='nan')
190  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
191    raise AssertionError(msg)
192AssertionError:
193Arrays are not equal
194
195x and y nan location mismatch:
196 x: array([ nan+infj])
197 y: array(infj)
198
199----------------------------------------------------------------------
200Ran 3175 tests in 40.153s
201
202FAILED (KNOWNFAIL=3, SKIP=2, failures=8)
203<nose.result.TextTestResult run=3175 errors=0 failures=8>
204>>> import scipy
205>>> scipy.test()
206Running unit tests for scipy
207NumPy version 1.6.1
208NumPy is installed in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy
209SciPy version 0.9.0
210SciPy is installed in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy
211Python version 2.7.2 (default, Jul 21 2011, 00:10:48) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
212nose version 1.0.0
213.............................................................................................................................................................................................................K......................................................................................................................K..K.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F..FF......................................................................................................................................SSSSSS......SSSSSS......SSSS.....................................................F....FF.....S................................................................................................................................................................................................................K...........................................................................................................................................................................................SSSSS.........S.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/linalg/dsolve/linsolve.py:259: DeprecationWarning: scipy.sparse.linalg.dsolve.umfpack will be removed, install scikits.umfpack instead
214  ' install scikits.umfpack instead', DeprecationWarning )
215../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/sparse/linalg/dsolve/linsolve.py:75: DeprecationWarning: scipy.sparse.linalg.dsolve.umfpack will be removed, install scikits.umfpack instead
216  ' install scikits.umfpack instead', DeprecationWarning )
217................K.K..KK.KK...........................................................................................................................................K...............................................................K...........................................................................................................................................................KK...............................................................................................................................................................................................................................................................................................................................................................................................................................K.K........................................................................................................................................................................................................................................................................................................................................................................................K........K.........SSSSSSS................................................................................................................................................................................................................................................................................................................................................................................................../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/stats/distributions.py:3546: RuntimeWarning: overflow encountered in exp
218  return exp(c*x-exp(x)-gamln(c))
219................................./opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/stats/distributions.py:3955: RuntimeWarning: invalid value encountered in sqrt
220  vals = 2*(bt+1.0)*sqrt(b-2.0)/((b-3.0)*sqrt(b))
221.........................................................................................................................................................................................................................................................................................................S..............................................................................................................................................................................................F.............................................................................................................................................................................................................................................................................................................................................................................................................
222======================================================================
223FAIL: test_asum (test_blas.TestFBLAS1Simple)
224----------------------------------------------------------------------
225Traceback (most recent call last):
226  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/lib/blas/tests/test_blas.py", line 58, in test_asum
227    assert_almost_equal(f([3,-4,5]),12)
228  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
229    raise AssertionError(msg)
230AssertionError:
231Arrays are not almost equal to 7 decimals
232 ACTUAL: 0.0
233 DESIRED: 12
234
235======================================================================
236FAIL: test_dot (test_blas.TestFBLAS1Simple)
237----------------------------------------------------------------------
238Traceback (most recent call last):
239  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/lib/blas/tests/test_blas.py", line 67, in test_dot
240    assert_almost_equal(f([3,-4,5],[2,5,1]),-9)
241  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
242    raise AssertionError(msg)
243AssertionError:
244Arrays are not almost equal to 7 decimals
245 ACTUAL: 0.0
246 DESIRED: -9
247
248======================================================================
249FAIL: test_nrm2 (test_blas.TestFBLAS1Simple)
250----------------------------------------------------------------------
251Traceback (most recent call last):
252  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/lib/blas/tests/test_blas.py", line 78, in test_nrm2
253    assert_almost_equal(f([3,-4,5]),math.sqrt(50))
254  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
255    raise AssertionError(msg)
256AssertionError:
257Arrays are not almost equal to 7 decimals
258 ACTUAL: 0.0
259 DESIRED: 7.0710678118654755
260
261======================================================================
262FAIL: test_asum (test_blas.TestFBLAS1Simple)
263----------------------------------------------------------------------
264Traceback (most recent call last):
265  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/tests/test_blas.py", line 57, in test_asum
266    assert_almost_equal(f([3,-4,5]),12)
267  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
268    raise AssertionError(msg)
269AssertionError:
270Arrays are not almost equal to 7 decimals
271 ACTUAL: 0.0
272 DESIRED: 12
273
274======================================================================
275FAIL: test_dot (test_blas.TestFBLAS1Simple)
276----------------------------------------------------------------------
277Traceback (most recent call last):
278  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/tests/test_blas.py", line 66, in test_dot
279    assert_almost_equal(f([3,-4,5],[2,5,1]),-9)
280  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
281    raise AssertionError(msg)
282AssertionError:
283Arrays are not almost equal to 7 decimals
284 ACTUAL: 0.0
285 DESIRED: -9
286
287======================================================================
288FAIL: test_nrm2 (test_blas.TestFBLAS1Simple)
289----------------------------------------------------------------------
290Traceback (most recent call last):
291  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/tests/test_blas.py", line 83, in test_nrm2
292    assert_almost_equal(f([3,-4,5]),math.sqrt(50))
293  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 468, in assert_almost_equal
294    raise AssertionError(msg)
295AssertionError:
296Arrays are not almost equal to 7 decimals
297 ACTUAL: 0.0
298 DESIRED: 7.0710678118654755
299
300======================================================================
301FAIL: test_expon (test_morestats.TestAnderson)
302----------------------------------------------------------------------
303Traceback (most recent call last):
304  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/stats/tests/test_morestats.py", line 72, in test_expon
305    assert_array_less(crit[:-1], A)
306  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 869, in assert_array_less
307    header='Arrays are not less-ordered')
308  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 613, in assert_array_compare
309    chk_same_position(x_id, y_id, hasval='inf')
310  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
311    raise AssertionError(msg)
312AssertionError:
313Arrays are not less-ordered
314
315x and y inf location mismatch:
316 x: array([ 0.911,  1.065,  1.325,  1.587])
317 y: array(inf)
318
319----------------------------------------------------------------------
320Ran 4722 tests in 92.758s
321
322FAILED (KNOWNFAIL=18, SKIP=31, failures=7)
323<nose.result.TextTestResult run=4722 errors=0 failures=7>
324>>>