Created
April 8, 2014 15:52
-
-
Save iMichka/10146635 to your computer and use it in GitHub Desktop.
scipy Test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mcpi-macpro:Desktop Administrateur$ brew test -v scipy | |
| Testing scipy | |
| ==> python -c import scipy; scipy.test() | |
| /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/utils.py:134: DeprecationWarning: `scipy.lib.blas` is deprecated, use `scipy.linalg.blas` instead! | |
| warnings.warn(depdoc, DeprecationWarning) | |
| /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/utils.py:134: DeprecationWarning: `scipy.lib.lapack` is deprecated, use `scipy.linalg.lapack` instead! | |
| warnings.warn(depdoc, DeprecationWarning) | |
| ..............................................................................................................................................................................................................................K..................................................................................................................K.......................................................................................K..K......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSS......SSSSSS......SSSS......................................................................................0-th dimension must be fixed to 3 but got 15 | |
| ..0-th dimension must be fixed to 3 but got 5 | |
| .......................S..........K..............................................................................................................................................................................................................................................................................................K.......................................................................................................................................................................................K.........................FF....................................................................................................................................../usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/_methods.py:55: RuntimeWarning: Mean of empty slice. | |
| warnings.warn("Mean of empty slice.", RuntimeWarning) | |
| .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SS....................SSSSSSSSSS.......KKKSSS.S....KKK......S..K...KKK...KKK...............S..............SSSSS..SSSS.................................SS...............SSS.SSSSSSSSSS....SSSKKKSSS.S.SSSKKK......S...SSSKKKSSSKKK...........SSS.S..............SSSSS..SSSS.................................................................................KKKK..........KKKK...............KKKK....KKKK.....................................................................................................................................................................................................................................................................................................................................................................................................................KKKK..........KKKK...............KKKK....KKKK......................................................................................................................................................................................................................................................................................................................................................................SS............SSS.SSSSSSSSSS....SSSKKKSSS.S.SSSKKK......S...SSSKKKSSSKKK......S....SSS.S..............SSSSS..SSSS...............................K..S.SSS..........SSS.KKKKSKSSKS....SSSKKKSSS...SSSKKK..........SSSKKKSSSKKK......S.....SSS.S.........K.....KSSS...KSKS................................................SSS................SSSKKK......SSSKKK...........SSSKKK...SSSKKK......S....SSS............K................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/special/_testutils.py:244: RuntimeWarning: invalid value encountered in greater | |
| pinf_x = np.isinf(x) & (x > 0) | |
| /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/special/_testutils.py:245: RuntimeWarning: invalid value encountered in greater | |
| pinf_y = np.isinf(y) & (y > 0) | |
| /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/special/_testutils.py:246: RuntimeWarning: invalid value encountered in less | |
| minf_x = np.isinf(x) & (x < 0) | |
| /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/special/_testutils.py:247: RuntimeWarning: invalid value encountered in less | |
| minf_y = np.isinf(y) & (y < 0) | |
| .....................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSS................................................../usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/_methods.py:79: RuntimeWarning: Degrees of freedom <= 0 for slice | |
| warnings.warn("Degrees of freedom <= 0 for slice", RuntimeWarning) | |
| .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/stats/distributions.py:7208: RuntimeWarning: invalid value encountered in greater_equal | |
| return where(temp >= q, vals1, vals) | |
| .............................................................................................../usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/stats/distributions.py:7584: RuntimeWarning: invalid value encountered in greater_equal | |
| return where((temp >= q), vals1, vals) | |
| .............................................S..........................................................................................S...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K...................................................................................................... | |
| ====================================================================== | |
| FAIL: test_cases (test_solvers.TestSolveLyapunov) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/tests/test_solvers.py", line 45, in test_cases | |
| self.check_continuous_case(case[0], case[1]) | |
| File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/tests/test_solvers.py", line 37, in check_continuous_case | |
| assert_array_almost_equal(np.dot(a, x) + np.dot(x, a.conj().transpose()), q) | |
| File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 811, in assert_array_almost_equal | |
| header=('Arrays are not almost equal to %d decimals' % decimal)) | |
| File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 644, in assert_array_compare | |
| raise AssertionError(msg) | |
| AssertionError: | |
| Arrays are not almost equal to 6 decimals | |
| (mismatch 100.0%) | |
| x: array([[ 0.66940063, 1.82351325, 0.09693803, 0.74958987, 5.37149648], | |
| [ 2.35737286, -1.68687652, -1.11483151, 2.92536995, 5.39661969], | |
| [ 0.08560546, -1.49569258, 2.3794113 , 0.51512191, 6.00411424],... | |
| y: array([[2, 4, 1, 0, 1], | |
| [4, 1, 0, 2, 0], | |
| [1, 0, 3, 0, 3],... | |
| ====================================================================== | |
| FAIL: test_cases (test_solvers.TestSolveSylvester) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/tests/test_solvers.py", line 179, in test_cases | |
| self.check_case(case[0], case[1], case[2]) | |
| File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/linalg/tests/test_solvers.py", line 175, in check_case | |
| assert_array_almost_equal(np.dot(a, x) + np.dot(x, b), c) | |
| File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 811, in assert_array_almost_equal | |
| header=('Arrays are not almost equal to %d decimals' % decimal)) | |
| File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/utils.py", line 644, in assert_array_compare | |
| raise AssertionError(msg) | |
| AssertionError: | |
| Arrays are not almost equal to 6 decimals | |
| (mismatch 25.0%) | |
| x: array([[ 1.00000000e+00, 0.00000000e+00, 0.00000000e+00, | |
| 0.00000000e+00], | |
| [ 0.00000000e+00, 1.00000000e+00, 0.00000000e+00,... | |
| y: array([[ 1., 0., 0., 0.], | |
| [ 0., 1., 0., 0.], | |
| [ 0., 0., 1., 0.], | |
| [ 0., 0., 0., 1.]]) | |
| ---------------------------------------------------------------------- | |
| Ran 8936 tests in 146.108s | |
| FAILED (KNOWNFAIL=114, SKIP=200, failures=2) | |
| Running unit tests for scipy | |
| NumPy version 1.8.1 | |
| NumPy is installed in /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy | |
| SciPy version 0.13.3 | |
| SciPy is installed in /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy | |
| Python version 2.7.6 (default, Jan 27 2014, 09:44:18) [GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] | |
| nose version 1.3.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment