scipy test fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SciPy |
Fix Released
|
Unknown
|
|||
python-scipy (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I am running Ubuntu 8.10, updated from 8.04 -- installed python and scipy with aptitude from the repositories.
Best,
Sebastian.
sbusch@tof8:~$ uname -a
Linux tof8 2.6.24-21-generic #1 SMP Tue Oct 21 23:09:30 UTC 2008 x86_64 GNU/Linux
sbusch@tof8:~$ python
Python 2.5.2 (r252:60911, Oct 5 2008, 19:29:17)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__version__
'1.1.1'
>>> numpy.test()
Numpy is installed in /usr/lib/
Numpy version 1.1.1
Python version 2.5.2 (r252:60911, Oct 5 2008, 19:29:17) [GCC 4.3.2]
Found 63/63 tests for numpy.core.
Found 72/72 tests for numpy.core.
Found 12/12 tests for numpy.core.
Found 36/36 tests for numpy.core.
Found 2/2 tests for numpy.core.
Found 145/145 tests for numpy.core.
Found 3/3 tests for numpy.core.
Found 3/3 tests for numpy.core.
Found 16/16 tests for numpy.core.
Found 7/7 tests for numpy.core.
Found 18/18 tests for numpy.core.
Found 290/290 tests for numpy.core.
Found 5/5 tests for numpy.distutils
Found 4/4 tests for numpy.distutils
Found 2/2 tests for numpy.fft.
Found 3/3 tests for numpy.fft.
Found 15/15 tests for numpy.lib.
Found 10/10 tests for numpy.lib.
Found 1/1 tests for numpy.lib.
Found 5/5 tests for numpy.lib.
Found 25/25 tests for numpy.lib.
Found 1/1 tests for numpy.lib.
Found 1/1 tests for numpy.lib.
Found 55/55 tests for numpy.lib.
Found 15/15 tests for numpy.lib.
Found 49/49 tests for numpy.lib.
Found 1/1 tests for numpy.lib.
Found 43/43 tests for numpy.lib.
Found 6/6 tests for numpy.lib.
Found 4/4 tests for numpy.lib.
Found 3/3 tests for numpy.linalg.
Found 89/89 tests for numpy.linalg.
Found 4/4 tests for numpy.ma.
Found 36/36 tests for numpy.ma.
Found 19/19 tests for numpy.ma.
Found 96/96 tests for numpy.ma.
Found 15/15 tests for numpy.ma.
Found 1/1 tests for numpy.oldnumeri
Found 7/7 tests for numpy.tests.
Found 16/16 tests for numpy.testing.
.......
-------
Ran 1286 tests in 2.653s
OK
<unittest.
>>> import scipy
>>> scipy.__version__
'0.6.0'
>>> scipy.test()
Found 9/9 tests for scipy.cluster.
Found 20/20 tests for scipy.fftpack.
Found 4/4 tests for scipy.fftpack.
Found 18/18 tests for scipy.fftpack.
Found 3/3 tests for scipy.integrate
Found 10/10 tests for scipy.integrate
Found 1/1 tests for scipy.integrate
Found 6/6 tests for scipy.tests.
Found 6/6 tests for scipy.tests.
Found 5/5 tests for scipy.io.
Found 28/28 tests for scipy.io.
Found 13/13 tests for scipy.io.
Found 4/4 tests for scipy.io.
Found 4/4 tests for scipy.io.
Found 128/128 tests for scipy.lib.
Found 16/16 tests for scipy.lib.
*******
WARNING: clapack module is empty
-----------
See scipy/INSTALL.txt for troubleshooting.
Notes:
* If atlas library is not found by numpy/distutils
then scipy uses flapack instead of clapack.
*******
Found 42/42 tests for scipy.lib.
Failed importing /usr/lib/
Failed importing /usr/lib/
Failed importing /usr/lib/
Failed importing /usr/lib/
Failed importing /usr/lib/
Failed importing /usr/lib/
Failed importing /usr/lib/
Found 9/9 tests for scipy.linsolve.
Found 2/2 tests for scipy.maxentrop
Found 3/3 tests for scipy.misc.
Found 399/399 tests for scipy.tests.
Found 5/5 tests for scipy.odr.
Found 10/10 tests for scipy.optimize.
Found 4/4 tests for scipy.optimize.
Found 1/1 tests for scipy.optimize.
Found 8/8 tests for scipy.optimize.
Found 4/4 tests for scipy.signal.
Found 5/5 tests for scipy.signal.
Found 152/152 tests for scipy.sparse.
Found 3/3 tests for scipy.special.
Found 342/342 tests for scipy.special.
Found 73/73 tests for scipy.stats.
Found 107/107 tests for scipy.stats.
Found 10/10 tests for scipy.stats.
Found 1/1 tests for scipy.weave.
Found 0/0 tests for scipy.weave.
Found 0/0 tests for scipy.weave.
Found 0/0 tests for scipy.weave.
Found 0/0 tests for scipy.weave.
Found 0/0 tests for scipy.weave.
building extensions here: /home/toftof/
Found 1/1 tests for scipy.weave.
Found 2/2 tests for scipy.weave.
Found 26/26 tests for scipy.weave.
Found 16/16 tests for scipy.weave.
Found 0/0 tests for scipy.weave.
Found 3/3 tests for scipy.weave.
Found 9/9 tests for scipy.weave.
Found 74/74 tests for scipy.weave.
.../usr/
warnings.
exception raised as expected: One of the clusters is empty. Re-run kmean with a different initialization.
.......
.......
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.
.......
Don't worry about a warning regarding the number of bytes read.
Warning: 1000000 bytes requested, 20 bytes read.
.......caxpy:n=4
..caxpy:n=3
....ccopy:n=4
..ccopy:n=3
.......
....cswap:n=4
..cswap:n=3
.....daxpy:n=4
..daxpy:n=3
....dcopy:n=4
..dcopy:n=3
.......
....dswap:n=4
..dswap:n=3
.....saxpy:n=4
..saxpy:n=3
....scopy:n=4
..scopy:n=3
.......
....sswap:n=4
..sswap:n=3
.....zaxpy:n=4
..zaxpy:n=3
....zcopy:n=4
..zcopy:n=3
.......
....zswap:n=4
..zswap:n=3
.......
..Use minimum degree ordering on A'+A.
F..Use minimum degree ordering on A'+A.
F......
warnings.
.......
.......
.......
.......
.......
0.2
0.2
......0.2
..0.2
0.2
0.2
0.2
0.2
.......
..Ties preclude use of exact statistic.
.......
...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
.......
=======
FAIL: check_syevr (scipy.
-------
Traceback (most recent call last):
File "/usr/lib/
assert_
File "/usr/lib/
header='Arrays are not almost equal')
File "/usr/lib/
assert cond, msg
AssertionError:
Arrays are not almost equal
(mismatch 33.3333333333%)
x: array([-0.66992444, 0.48769474, 9.18222618], dtype=float32)
y: array([-0.66992434, 0.48769389, 9.18223045])
=======
FAIL: check_syevr_irange (scipy.
-------
Traceback (most recent call last):
File "/usr/lib/
assert_
File "/usr/lib/
header='Arrays are not almost equal')
File "/usr/lib/
assert cond, msg
AssertionError:
Arrays are not almost equal
(mismatch 33.3333333333%)
x: array([-0.66992444, 0.48769474, 9.18222618], dtype=float32)
y: array([-0.66992434, 0.48769389, 9.18223045])
=======
FAIL: Solve: single precision complex
-------
Traceback (most recent call last):
File "/usr/lib/
assert_
File "/usr/lib/
header='Arrays are not almost equal')
File "/usr/lib/
assert cond, msg
AssertionError:
Arrays are not almost equal
(mismatch 20.0%)
x: array([ 1.00000000+0.j, 1.99999809+0.j, 3.00000000+0.j, 4.00000048+0.j,
y: array([1, 2, 3, 4, 5])
=======
FAIL: Solve: single precision
-------
Traceback (most recent call last):
File "/usr/lib/
assert_
File "/usr/lib/
header='Arrays are not almost equal')
File "/usr/lib/
assert cond, msg
AssertionError:
Arrays are not almost equal
(mismatch 20.0%)
x: array([ 1. , 1.99999809, 3. , 4.00000048, 5. ], dtype=float32)
y: array([1, 2, 3, 4, 5])
=======
FAIL: test_explicit (scipy.
-------
Traceback (most recent call last):
File "/usr/lib/
-8.
File "/usr/lib/
header='Arrays are not almost equal')
File "/usr/lib/
assert cond, msg
AssertionError:
Arrays are not almost equal
(mismatch 100.0%)
x: array([ 1.26462971e+03, -5.42545890e+01, -8.64250389e-02])
y: array([ 1.26465481e+03, -5.40184100e+01, -8.78497122e-02])
=======
FAIL: test_multi (scipy.
-------
Traceback (most recent call last):
File "/usr/lib/
0.510114716
File "/usr/lib/
header='Arrays are not almost equal')
File "/usr/lib/
assert cond, msg
AssertionError:
Arrays are not almost equal
(mismatch 100.0%)
x: array([ 4.31272063, 2.44289312, 7.76215871, 0.55995622, 0.46423343])
y: array([ 4.37998803, 2.43330576, 8.00288459, 0.51011472, 0.51739023])
=======
FAIL: check_pbdv (scipy.
-------
Traceback (most recent call last):
File "/usr/lib/
assert_
File "/usr/lib/
assert_
File "/usr/lib/
assert desired == actual, msg
AssertionError:
Items are not equal:
item=1
ACTUAL: 1.0
DESIRED: 0.0
-------
Ran 1586 tests in 9.031s
FAILED (failures=7)
<unittest.
>>>
Related branches
Changed in scipy: | |
status: | Unknown → Fix Released |
Fixed in 0.7.0.