Hi, I just installed numpy (1.0.3) and scipy (0.5.2) on a Windows
machine running Python 2.5.1. They both complete installation, and
numpy.test() reports no errors. scipy.test() produces a huge stream
(see below) of warnings, errors (19), and failures (2), however. Also,
there's a deprecation warning when I import scipy. Is this behavior
normal? These appear to be the latest versions of everything.
Thanks,
Matt
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 1.2.1
>>> import numpy
>>> import scipy
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\misc\__init__.py", line 25
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
>>> scipy.test()
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\ndimage\__init__.py", line
40
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\sparse\__init__.py", line
9
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\io\__init__.py", line 20
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\lib\__init__.py", line 5
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\linsolve\umfpack
\__init__.py", line 7
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\linsolve\__init__.py",
line 13
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\interpolate\__init__.py",
line 15
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\optimize\__init__.py",
line 17
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\linalg\__init__.py", line
32
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\special\__init__.py", line
22
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\stats\__init__.py", line
15
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\fftpack\__init__.py", line
21
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\integrate\__init__.py",
line 16
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\lib\lapack\__init__.py",
line 93
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\signal\__init__.py", line
17
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\lib\blas\__init__.py",
line 61
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\maxentropy\__init__.py",
line 12
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\__init__.py", line 77
return ScipyTest(scipy).test(level, verbosity)
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Found 1 tests for scipy.cluster.vq
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\fftpack\__init__.py", line
21
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Warning (from warnings module):
File "C:\Python25\lib\site-packages\numpy\testing\numpytest.py",
line 408
suite = obj(mthname)
DeprecationWarning: ScipyTestCase is now called NumpyTestCase; please
update your code
Found 18 tests for scipy.fftpack.basic
Found 4 tests for scipy.fftpack.helper
Found 20 tests for scipy.fftpack.pseudo_diffs
Found 1 tests for scipy.integrate
Found 10 tests for scipy.integrate.quadpack
Found 3 tests for scipy.integrate.quadrature
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\interpolate\__init__.py",
line 15
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Found 6 tests for scipy.interpolate
Found 6 tests for scipy.interpolate.fitpack
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\io\__init__.py", line 20
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Found 4 tests for scipy.io.array_import
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\io\tests\test_mio.py",
line 28
super(test_mio_array, self).__init__(*args, **kwargs)
DeprecationWarning: ScipyTestCase is now called NumpyTestCase; please
update your code
Found 28 tests for scipy.io.mio
Found 12 tests for scipy.io.mmio
Found 4 tests for scipy.io.recaster
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\lib\blas\__init__.py",
line 61
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Found 16 tests for scipy.lib.blas
Found 128 tests for scipy.lib.blas.fblas
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\lib\lapack\__init__.py",
line 93
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Found 42 tests for scipy.lib.lapack
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\linalg\__init__.py", line
32
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Found 41 tests for scipy.linalg.basic
Found 14 tests for scipy.linalg.blas
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\linalg\tests
\test_decomp.py", line 117
ScipyTestCase.__init__(self, *args)
DeprecationWarning: ScipyTestCase is now called NumpyTestCase; please
update your code
Found 53 tests for scipy.linalg.decomp
Found 128 tests for scipy.linalg.fblas
Found 4 tests for scipy.linalg.lapack
Found 7 tests for scipy.linalg.matfuncs
Warning: FAILURE importing tests for <module 'scipy.linsolve.umfpack'
from '...\\linsolve\\umfpack\\__init__.pyc'>
C:\Python25\Lib\site-packages\scipy\linsolve\umfpack\tests
\test_umfpack.py:17: AttributeError: 'module' object has no attribute
'umfpack' (in <module>)
Warning: FAILURE importing tests for <module
'scipy.linsolve.umfpack.umfpack' from '...y\\linsolve\\umfpack\
\umfpack.pyc'>
C:\Python25\Lib\site-packages\scipy\linsolve\umfpack\tests
\test_umfpack.py:17: AttributeError: 'module' object has no attribute
'umfpack' (in <module>)
Found 2 tests for scipy.maxentropy
Found 397 tests for scipy.ndimage
Found 6 tests for scipy.optimize
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\optimize\__init__.py",
line 17
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Found 1 tests for scipy.optimize.cobyla
Found 4 tests for scipy.optimize.zeros
Found 4 tests for scipy.signal.signaltools
Found 96 tests for scipy.sparse
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\special\__init__.py", line
22
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Found 358 tests for scipy.special.basic
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\stats\__init__.py", line
15
test = ScipyTest().test
DeprecationWarning: ScipyTest is now called NumpyTest; please update
your code
Found 98 tests for scipy.stats
Found 70 tests for scipy.stats.distributions
Found 10 tests for scipy.stats.morestats
Found 0 tests for __main__
...........................................Residual:
1.05006987327e-007
...........Took 13 points.
.........
Warning (from warnings module):
File "C:\Python25\lib\site-packages\scipy\interpolate\fitpack2.py",
line 457
warnings.warn(message)
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.
......
Don't worry about a warning regarding the number of bytes read.
....EEEE.E.EE.E.E.EE.E.E.E.EEEEE....................................................F......................................................................................................................................................................................................................................................................................................................................................................................................Result
may be inaccurate, approximate err = 1.82697723188e-008
...Result may be inaccurate, approximate err = 1.50259560743e-010
..........................................................................................................................................................................................................................................................................................................................................................................................................................................Resizing...
16 17 24
Resizing... 20 7 35
Resizing... 23 7 47
Resizing... 24 25 58
Resizing... 28 7 68
Resizing... 28 27 73
................................................Resizing... 16 17 24
Resizing... 20 7 35
Resizing... 23 7 47
Resizing... 24 25 58
Resizing... 28 7 68
Resizing... 28 27 73
......................Resizing... 16 17 24
Resizing... 20 7 35
Resizing... 23 7 47
Resizing... 24 25 58
Resizing... 28 7 68
Resizing... 28 27 73
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.Ties
preclude use of exact statistic.
..Ties preclude use of exact statistic.
......
======================================================================
ERROR: check loadmat case 3dmatrix
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case cell
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case cellnest
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case complex
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case double
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case emptycell
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case matrix
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case minus
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case multi
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case object
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case onechar
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case sparse
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case sparsecomplex
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case string
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case stringarray
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case struct
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case structarr
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case structnest
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
ERROR: check loadmat case unicode
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 85, in cc
self._check_case(name, files, expected)
File "C:\Python25\Lib\site-packages\scipy\io\tests\test_mio.py",
line 75, in _check_case
matdict = loadmat(file_name)
File "C:\Python25\Lib\site-packages\scipy\io\mio.py", line 96, in
loadmat
matfile_dict = MR.get_variables()
File "C:\Python25\Lib\site-packages\scipy\io\miobase.py", line 269,
in get_variables
mdict = self.file_header()
File "C:\Python25\Lib\site-packages\scipy\io\mio5.py", line 510, in
file_header
hdict['__header__'] = hdr['description'].strip(' \t\n\000')
AttributeError: 'numpy.ndarray' object has no attribute 'strip'
======================================================================
FAIL: check_y_stride (scipy.lib.blas.tests.test_fblas.test_cgemv)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\lib\blas\tests
\test_fblas.py", line 367, in check_y_stride
assert_array_almost_equal(desired_y,y)
File "C:\Python25\Lib\site-packages\numpy\testing\utils.py", line
230, in assert_array_almost_equal
header='Arrays are not almost equal')
File "C:\Python25\Lib\site-packages\numpy\testing\utils.py", line
215, in assert_array_compare
assert cond, msg
AssertionError:
Arrays are not almost equal
(mismatch 16.6666666667%)
x: array([-5.39065742 +5.39065742j, 1. +1.j ,
3.86268878 +0.13731122j, 3. +3.j ,
-9.09618664+17.09618759j, 5. +5.j ],
dtype=complex64)
y: array([-5.39065742 +5.39065742j, 1. +1.j ,
3.86268878 +0.13731124j, 3. +3.j ,
-9.09618664+17.09618568j, 5. +5.j ],
dtype=complex64)
======================================================================
FAIL: check_expon (scipy.stats.tests.test_morestats.test_anderson)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\scipy\stats\tests
\test_morestats.py", line 57, in check_expon
assert_array_less(A, crit[-2:])
File "C:\Python25\Lib\site-packages\numpy\testing\utils.py", line
235, in assert_array_less
header='Arrays are not less-ordered')
File "C:\Python25\Lib\site-packages\numpy\testing\utils.py", line
215, in assert_array_compare
assert cond, msg
AssertionError:
Arrays are not less-ordered
(mismatch 100.0%)
x: array(1.9482886531944246)
y: array([ 1.587, 1.934])
----------------------------------------------------------------------
Ran 1596 tests in 20.720s
FAILED (failures=2, errors=19)
<unittest.TextTestRunner object at 0x022F6B90>