1 | In [1]: import scipy |
---|
2 | |
---|
3 | In [2]: scipy.test() |
---|
4 | Running unit tests for scipy |
---|
5 | NumPy version 1.6.0 |
---|
6 | NumPy is installed in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy |
---|
7 | SciPy version 0.9.0 |
---|
8 | SciPy is installed in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy |
---|
9 | Python version 2.6.7 (r267:88850, Jul 5 2011, 09:50:10) [GCC 4.2.1 (Apple Inc. build 5659)] |
---|
10 | nose version 1.0.0 |
---|
11 | .............................................................................................................................................................................................................K......................................................................................................................K..K....../opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/numeric.py:1920: RuntimeWarning: invalid value encountered in absolute |
---|
12 | return all(less_equal(absolute(x-y), atol + rtol * absolute(y))) |
---|
13 | ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSS......SSSSSS......SSSS.................................................................S................................................................................................................................................................................................................K......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................./opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/sparse/linalg/dsolve/linsolve.py:259: DeprecationWarning: scipy.sparse.linalg.dsolve.umfpack will be removed, install scikits.umfpack instead |
---|
14 | ' install scikits.umfpack instead', DeprecationWarning ) |
---|
15 | ../opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/sparse/linalg/dsolve/linsolve.py:75: DeprecationWarning: scipy.sparse.linalg.dsolve.umfpack will be removed, install scikits.umfpack instead |
---|
16 | ' install scikits.umfpack instead', DeprecationWarning ) |
---|
17 | ................K.K..KK.KK...........................................................................................................................................K...............................................................K...........................................................................................................................................................KK...............................................................................................................................................................................................................................................................................................................................................................................................................................K.K........................................................................................................................................................................................................................................................................................................................................................................................K........K.........SSSSSSS................................................................................................................................................................................................................................................................................................................................................................................................../opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/stats/distributions.py:3546: RuntimeWarning: overflow encountered in exp |
---|
18 | return exp(c*x-exp(x)-gamln(c)) |
---|
19 | ................................./opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/stats/distributions.py:3955: RuntimeWarning: invalid value encountered in sqrt |
---|
20 | vals = 2*(bt+1.0)*sqrt(b-2.0)/((b-3.0)*sqrt(b)) |
---|
21 | .........................................................................................................................................................................................................................................................................................................S..............................................................................................................................................................................................F............................................................................................................................................................................................................................................................................................................................................................................................................. |
---|
22 | ====================================================================== |
---|
23 | FAIL: test_expon (test_morestats.TestAnderson) |
---|
24 | ---------------------------------------------------------------------- |
---|
25 | Traceback (most recent call last): |
---|
26 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/stats/tests/test_morestats.py", line 72, in test_expon |
---|
27 | assert_array_less(crit[:-1], A) |
---|
28 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 869, in assert_array_less |
---|
29 | header='Arrays are not less-ordered') |
---|
30 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 613, in assert_array_compare |
---|
31 | chk_same_position(x_id, y_id, hasval='inf') |
---|
32 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 588, in chk_same_position |
---|
33 | raise AssertionError(msg) |
---|
34 | AssertionError: |
---|
35 | Arrays are not less-ordered |
---|
36 | |
---|
37 | x and y inf location mismatch: |
---|
38 | x: array([ 0.911, 1.065, 1.325, 1.587]) |
---|
39 | y: array(inf) |
---|
40 | |
---|
41 | ---------------------------------------------------------------------- |
---|
42 | Ran 4724 tests in 101.051s |
---|
43 | |
---|
44 | FAILED (KNOWNFAIL=18, SKIP=25, failures=1) |
---|
45 | Out[2]: <nose.result.TextTestResult run=4724 errors=0 failures=1> |
---|