Ticket #30280: py26-numpy-test-lion.txt

File py26-numpy-test-lion.txt, 17.9 KB (added by michelle.lynn.gill@…, 13 years ago)
Line 
1In [2]: numpy.test()
2Running unit tests for numpy
3NumPy version 1.6.1
4NumPy is installed in /Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy
5Python version 2.6.7 (r267:88850, Jul 24 2011, 00:21:50) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
6nose version 1.0.0
7..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K.................................................................................................K......................K...........FFFFFFF...F./Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/tests/test_umath_complex.py:364: RuntimeWarning: invalid value encountered in sqrt
8  z = np.sqrt(np.array(np.complex(-np.inf, np.nan)))
9........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S................................/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/linalg/linalg.py:1637: RuntimeWarning: invalid value encountered in divide
10  sign *= multiply.reduce(d / absd)
11/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/linalg/linalg.py:1638: RuntimeWarning: divide by zero encountered in log
12  log(absd, absd)
13F....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
14======================================================================
15FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, 1, inf, inf, inf)
16----------------------------------------------------------------------
17Traceback (most recent call last):
18  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py", line 187, in runTest
19    self.test(*self.arg)
20  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
21    assert_equal(f(z1), z2)
22  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 256, in assert_equal
23    return assert_array_equal(actual, desired, err_msg, verbose)
24  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
25    verbose=verbose, header='Arrays are not equal')
26  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
27    chk_same_position(x_id, y_id, hasval='nan')
28  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
29    raise AssertionError(msg)
30AssertionError:
31Arrays are not equal
32
33x and y nan location mismatch:
34 x: array([ nan+infj])
35 y: array((inf+inf*j))
36
37======================================================================
38FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, -1, inf, inf, inf)
39----------------------------------------------------------------------
40Traceback (most recent call last):
41  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py", line 187, in runTest
42    self.test(*self.arg)
43  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
44    assert_equal(f(z1), z2)
45  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 256, in assert_equal
46    return assert_array_equal(actual, desired, err_msg, verbose)
47  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
48    verbose=verbose, header='Arrays are not equal')
49  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
50    chk_same_position(x_id, y_id, hasval='nan')
51  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
52    raise AssertionError(msg)
53AssertionError:
54Arrays are not equal
55
56x and y nan location mismatch:
57 x: array([ nan+infj])
58 y: array((inf+inf*j))
59
60======================================================================
61FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, 0.0, inf, inf, inf)
62----------------------------------------------------------------------
63Traceback (most recent call last):
64  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py", line 187, in runTest
65    self.test(*self.arg)
66  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
67    assert_equal(f(z1), z2)
68  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 256, in assert_equal
69    return assert_array_equal(actual, desired, err_msg, verbose)
70  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
71    verbose=verbose, header='Arrays are not equal')
72  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
73    chk_same_position(x_id, y_id, hasval='nan')
74  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
75    raise AssertionError(msg)
76AssertionError:
77Arrays are not equal
78
79x and y nan location mismatch:
80 x: array([ nan+infj])
81 y: array((inf+inf*j))
82
83======================================================================
84FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, -0.0, inf, inf, inf)
85----------------------------------------------------------------------
86Traceback (most recent call last):
87  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py", line 187, in runTest
88    self.test(*self.arg)
89  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
90    assert_equal(f(z1), z2)
91  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 256, in assert_equal
92    return assert_array_equal(actual, desired, err_msg, verbose)
93  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
94    verbose=verbose, header='Arrays are not equal')
95  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
96    chk_same_position(x_id, y_id, hasval='nan')
97  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
98    raise AssertionError(msg)
99AssertionError:
100Arrays are not equal
101
102x and y nan location mismatch:
103 x: array([ nan+infj])
104 y: array((inf+inf*j))
105
106======================================================================
107FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, inf, inf, inf, inf)
108----------------------------------------------------------------------
109Traceback (most recent call last):
110  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py", line 187, in runTest
111    self.test(*self.arg)
112  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
113    assert_equal(f(z1), z2)
114  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 256, in assert_equal
115    return assert_array_equal(actual, desired, err_msg, verbose)
116  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
117    verbose=verbose, header='Arrays are not equal')
118  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
119    chk_same_position(x_id, y_id, hasval='nan')
120  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
121    raise AssertionError(msg)
122AssertionError:
123Arrays are not equal
124
125x and y nan location mismatch:
126 x: array([ nan+infj])
127 y: array((inf+inf*j))
128
129======================================================================
130FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, -inf, inf, inf, inf)
131----------------------------------------------------------------------
132Traceback (most recent call last):
133  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py", line 187, in runTest
134    self.test(*self.arg)
135  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
136    assert_equal(f(z1), z2)
137  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 256, in assert_equal
138    return assert_array_equal(actual, desired, err_msg, verbose)
139  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
140    verbose=verbose, header='Arrays are not equal')
141  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
142    chk_same_position(x_id, y_id, hasval='nan')
143  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
144    raise AssertionError(msg)
145AssertionError:
146Arrays are not equal
147
148x and y nan location mismatch:
149 x: array([ nan+infj])
150 y: array((inf+inf*j))
151
152======================================================================
153FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, nan, inf, inf, inf)
154----------------------------------------------------------------------
155Traceback (most recent call last):
156  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py", line 187, in runTest
157    self.test(*self.arg)
158  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
159    assert_equal(f(z1), z2)
160  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 256, in assert_equal
161    return assert_array_equal(actual, desired, err_msg, verbose)
162  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
163    verbose=verbose, header='Arrays are not equal')
164  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
165    chk_same_position(x_id, y_id, hasval='nan')
166  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
167    raise AssertionError(msg)
168AssertionError:
169Arrays are not equal
170
171x and y nan location mismatch:
172 x: array([ nan+infj])
173 y: array((inf+inf*j))
174
175======================================================================
176FAIL: test_umath_complex.TestCsqrt.test_special_values(<ufunc 'sqrt'>, -inf, 1, 0.0, inf)
177----------------------------------------------------------------------
178Traceback (most recent call last):
179  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py", line 187, in runTest
180    self.test(*self.arg)
181  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/tests/test_umath_complex.py", line 578, in check_complex_value
182    assert_equal(f(z1), z2)
183  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 256, in assert_equal
184    return assert_array_equal(actual, desired, err_msg, verbose)
185  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
186    verbose=verbose, header='Arrays are not equal')
187  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 605, in assert_array_compare
188    chk_same_position(x_id, y_id, hasval='nan')
189  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 588, in chk_same_position
190    raise AssertionError(msg)
191AssertionError:
192Arrays are not equal
193
194x and y nan location mismatch:
195 x: array([ nan+infj])
196 y: array(inf*j)
197
198======================================================================
199FAIL: test_zero (test_linalg.TestDet)
200----------------------------------------------------------------------
201Traceback (most recent call last):
202  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/linalg/tests/test_linalg.py", line 206, in test_zero
203    assert_equal(linalg.det([[0.0]]), 0.0)
204  File "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 300, in assert_equal
205    raise AssertionError(msg)
206AssertionError:
207Items are not equal:
208 ACTUAL: nan
209 DESIRED: 0.0
210
211----------------------------------------------------------------------
212Ran 3533 tests in 21.074s
213
214FAILED (KNOWNFAIL=3, SKIP=1, failures=9)
215Out[2]: <nose.result.TextTestResult run=3533 errors=0 failures=9>