0.7 test results
Gideon Simpson <grs2103 <at> columbia.edu>
2008-07-03 03:19:51 GMT
On an OS X 10.5.4 machine with fink python 2.5.2 and numpy 1.1.0, I
get the following output when running scipy.test() with scipy
0.7.0.dev4518:
/opt/lib/python2.5/site-packages/scipy/sparse/linalg/dsolve/
linsolve.py:20: DeprecationWarning: scipy.sparse.linalg.dsolve.umfpack
will be removed, install scikits.umfpack instead
' install scikits.umfpack instead', DeprecationWarning )
/opt/lib/python2.5/site-packages/scipy/linsolve/__init__.py:4:
DeprecationWarning: scipy.linsolve has moved to
scipy.sparse.linalg.dsolve
warn('scipy.linsolve has moved to scipy.sparse.linalg.dsolve',
DeprecationWarning)
/opt/lib/python2.5/site-packages/scipy/splinalg/__init__.py:3:
DeprecationWarning: scipy.splinalg has moved to scipy.sparse.linalg
warn('scipy.splinalg has moved to scipy.sparse.linalg',
DeprecationWarning)
....(1, 1) (0,)
(2, 2) (1,)
(3, 3) (3,)
(4, 4) (6,)
(5, 5) (10,)
(6, 6) (15,)
(7, 7) (21,)
(8, 8) (28,)
(9, 9) (36,)
................/opt/lib/python2.5/site-packages/scipy/cluster/vq.py:
570: UserWarning: One of the clusters is empty. Re-run kmean with a
different initialization.
warnings.warn("One of the clusters is empty. "
exception raised as expected: One of the clusters is empty. Re-run
kmean with a different initialization.
................................................................./opt/
lib/python2.5/site-packages/scipy/interpolate/fitpack2.py:479:
UserWarning:
The coefficients of the spline returned have been computed as the
minimal norm least-squares solution of a (numerically) rank deficient
system (deficiency=7). If deficiency is large, the results may be
inaccurate. Deficiency may strongly depend on the value of eps.
warnings.warn(message)
..../opt/lib/python2.5/site-packages/scipy/interpolate/fitpack2.py:
420: UserWarning:
The required storage space exceeds the available storage space: nxest
or nyest too small, or s too small.
The weighted least-squares spline corresponds to the current set of
knots.
warnings.warn(message)
.....................................................................................
Don't worry about a warning regarding the number of bytes read.
Warning: 1000000 bytes requested, 20 bytes read.
./opt/lib/python2.5/site-packages/numpy/lib/utils.py:114:
DeprecationWarning: write_array is deprecated
warnings.warn(str1, DeprecationWarning)
/opt/lib/python2.5/site-packages/numpy/lib/utils.py:114:
DeprecationWarning: read_array is deprecated
warnings.warn(str1, DeprecationWarning)
....................../opt/lib/python2.5/site-packages/numpy/lib/
utils.py:114: DeprecationWarning: npfile is deprecated
warnings.warn(str1, DeprecationWarning)
............................caxpy:n=4
..caxpy:n=3
....ccopy:n=4
..ccopy:n=3
.............cscal:n=4
....cswap:n=4
..cswap:n=3
.....daxpy:n=4
..daxpy:n=3
....dcopy:n=4
..dcopy:n=3
.............dscal:n=4
....dswap:n=4
..dswap:n=3
.....saxpy:n=4
..saxpy:n=3
....scopy:n=4
..scopy:n=3
.............sscal:n=4
....sswap:n=4
..sswap:n=3
.....zaxpy:n=4
..zaxpy:n=3
....zcopy:n=4
..zcopy:n=3
.............zscal:n=4
....zswap:n=4
..zswap:n=3
..
****************************************************************
WARNING: clapack module is empty
-----------
See scipy/INSTALL.txt for troubleshooting.
Notes:
* If atlas library is not found by numpy/distutils/system_info.py,
then scipy uses flapack instead of clapack.
****************************************************************
..........................................NO ATLAS INFO AVAILABLE
.........................................
****************************************************************
WARNING: cblas module is empty
-----------
See scipy/INSTALL.txt for troubleshooting.
Notes:
* If atlas library is not found by numpy/distutils/system_info.py,
then scipy uses fblas instead of
cblas.
****************************************************************
...............................................................................................caxpy:n
=4
..caxpy:n=3
....ccopy:n=4
..ccopy:n=3
.............cscal:n=4
....cswap:n=4
..cswap:n=3
.....daxpy:n=4
..daxpy:n=3
....dcopy:n=4
..dcopy:n=3
.............dscal:n=4
....dswap:n=4
..dswap:n=3
.....saxpy:n=4
..saxpy:n=3
....scopy:n=4
..scopy:n=3
.............sscal:n=4
....sswap:n=4
..sswap:n=3
.....zaxpy:n=4
..zaxpy:n=3
....zcopy:n=4
..zcopy:n=3
.............zscal:n=4
....zswap:n=4
..zswap:n=3
....
****************************************************************
WARNING: clapack module is empty
-----------
See scipy/INSTALL.txt for troubleshooting.
Notes:
* If atlas library is not found by numpy/distutils/system_info.py,
then scipy uses flapack instead of clapack.
****************************************************************
...Result may be inaccurate, approximate err = 1.23518201169e-08
...Result may be inaccurate, approximate err = 7.27595761418e-12
.....SSS
........................................................................................................................................................................................................................................................................................................................................................................................................./opt
/lib/python2.5/site-packages/scipy/ndimage/_registration.py:25:
UserWarning: The registration code is under heavy development and
therefore the public API will change in the future. The NIPY group is
actively working on this code, and has every intention of generalizing
this for the Scipy community. Use this module minimally, if at all,
until it this warning is removed.
warnings.warn(_msg, UserWarning)
...E..EEE./opt/lib/python2.5/site-packages/scipy/ndimage/_segmenter.py:
30: UserWarning: The segmentation code is under heavy development and
therefore the public API will change in the future. The NIPY group is
actively working on this code, and has every intention of generalizing
this for the Scipy community. Use this module minimally, if at all,
until it this warning is removed.
warnings.warn(_msg, UserWarning)
...F
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
F
......................EE
......................................................................................Ties
preclude use of exact statistic.
..Ties preclude use of exact statistic.
........................................................../opt/lib/
python2.5/site-packages/numpy/lib/function_base.py:166: FutureWarning:
The semantics of histogram will be modified in
release 1.2 to improve outlier handling. The new behavior can
be
obtained using new=True. Note that the new version accepts/
returns
the bin edges instead of the left bin edges.
Please read the docstring for more information.
Please read the docstring for more information.""", FutureWarning)
/opt/lib/python2.5/site-packages/numpy/lib/function_base.py:181:
FutureWarning:
Outliers handling will change in version 1.2.
Please read the docstring for details.
Please read the docstring for details.""",
FutureWarning)
................................................................................................warning
: specified build_dir '_bad_path_' does not exist or is not writable.
Trying default locations
...warning: specified build_dir '..' does not exist or is not
writable. Trying default locations
..warning: specified build_dir '_bad_path_' does not exist or is not
writable. Trying default locations
...warning: specified build_dir '..' does not exist or is not
writable. Trying default locations
............................building extensions here: /Users/
gideon/.python25_compiled/m11
................................................................................................
======================================================================
ERROR: Execute a single test. Returns a success boolean
----------------------------------------------------------------------
TypeError: exec_test() takes exactly 4 arguments (1 given)
======================================================================
ERROR: Run one test with arguments
----------------------------------------------------------------------
TypeError: run_test() takes exactly 3 arguments (1 given)
======================================================================
ERROR: Run many tests with a common setUp/tearDown.
----------------------------------------------------------------------
TypeError: run_tests() takes exactly 3 arguments (1 given)
======================================================================
ERROR: set_testMethodDoc (test_regression.ParametricTestCase)
----------------------------------------------------------------------
TypeError: set_testMethodDoc() takes exactly 2 arguments (1 given)
======================================================================
ERROR: test_huber (test_scale.TestScale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/lib/python2.5/site-packages/scipy/stats/models/tests/
test_scale.py", line 35, in test_huber
m = scale.huber(X)
File "/opt/lib/python2.5/site-packages/scipy/stats/models/robust/
scale.py", line 82, in __call__
for donothing in self:
File "/opt/lib/python2.5/site-packages/scipy/stats/models/robust/
scale.py", line 102, in next
scale = N.sum(subset * (a - mu)**2, axis=self.axis) / (self.n *
Huber.gamma - N.sum(1. - subset, axis=self.axis) * Huber.c**2)
File "/opt/lib/python2.5/site-packages/numpy/core/fromnumeric.py",
line 994, in sum
return sum(axis, dtype, out)
TypeError: only length-1 arrays can be converted to Python scalars
======================================================================
ERROR: test_huberaxes (test_scale.TestScale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/lib/python2.5/site-packages/scipy/stats/models/tests/
test_scale.py", line 40, in test_huberaxes
m = scale.huber(X, axis=0)
File "/opt/lib/python2.5/site-packages/scipy/stats/models/robust/
scale.py", line 82, in __call__
for donothing in self:
File "/opt/lib/python2.5/site-packages/scipy/stats/models/robust/
scale.py", line 102, in next
scale = N.sum(subset * (a - mu)**2, axis=self.axis) / (self.n *
Huber.gamma - N.sum(1. - subset, axis=self.axis) * Huber.c**2)
File "/opt/lib/python2.5/site-packages/numpy/core/fromnumeric.py",
line 994, in sum
return sum(axis, dtype, out)
TypeError: only length-1 arrays can be converted to Python scalars
======================================================================
FAIL: test_texture2 (test_segment.TestSegment)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/lib/python2.5/site-packages/scipy/ndimage/tests/
test_segment.py", line 152, in test_texture2
assert_array_almost_equal(tem0, truth_tem0, decimal=6)
File "/opt/lib/python2.5/site-packages/numpy/testing/utils.py",
line 255, in assert_array_almost_equal
header='Arrays are not almost equal')
File "/opt/lib/python2.5/site-packages/numpy/testing/utils.py",
line 240, in assert_array_compare
assert cond, msg
AssertionError:
Arrays are not almost equal
(mismatch 66.6666666667%)
x: array([ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00,
1.91816598e-01, 1.02515288e-01, 9.30087343e-02,...
y: array([ 0. , 0. , 0. , 0. ,
0. ,
0. , 0.13306101, 0.08511007, 0.05084148, 0.07550675,
0.4334695 , 0.03715914, 0.00289055, 0.02755581, 0.48142046,
0.03137803, 0.00671277, 0.51568902, 0.01795249,
0.49102375, 1. ], dtype=float32)
======================================================================
FAIL: test_namespace (test_formula.TestFormula)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/lib/python2.5/site-packages/scipy/stats/models/tests/
test_formula.py", line 119, in test_namespace
self.assertEqual(xx.namespace, Y.namespace)
AssertionError: {} != {'Y': array([ 0, 2, 4, 6, 8, 10, 12, 14, 16,
18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40,
42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70,
72, 74, 76, 78, 80, 82,
84, 86, 88, 90, 92, 94, 96, 98]), 'X': array([ 0, 1, 2, 3,
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
36, 37, 38, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49])}
----------------------------------------------------------------------
Ran 2275 tests in 23.705s
FAILED (SKIP=3, errors=6, failures=2)