[SciPy-user] Scipy 0.7.0dev4167 ... 44 errors?

Joshua Lippai discerptor@gmail....
Wed Apr 23 12:26:26 CDT 2008


Hello,

I was running SVN builds of SciPy retty well until just recently (I
got a few filures and some errors, but apparently this is normal right
now, or so I've been told). But at some recent revision, my number of
errors jumped to a whopping 44, and failures to 5 from scipy.test().
Here is my output:

======================================================================
ERROR: Tests pdist(X, 'chebychev') on the Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 538, in test_pdist_chebychev_iris
    Y_test1 = pdist(X, 'chebychev')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_chebychev') [the non-C implementation] on
the Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 548, in test_pdist_chebychev_iris_nonC
    Y_test2 = pdist(X, 'test_chebychev')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'chebychev') on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 517, in test_pdist_chebychev_random
    Y_test1 = pdist(X, 'chebychev')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_chebychev') [the non-C implementation] on
random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 527, in test_pdist_chebychev_random_nonC
    Y_test2 = pdist(X, 'test_chebychev')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'cityblock') on the Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 304, in test_pdist_cityblock_iris
    Y_test1 = pdist(X, 'cityblock')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_cityblock') [the non-C implementation] on
the Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 314, in test_pdist_cityblock_iris_nonC
    Y_test2 = pdist(X, 'test_cityblock')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'cityblock') on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 284, in test_pdist_cityblock_random
    Y_test1 = pdist(X, 'cityblock')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_cityblock') [the non-C implementation] on
random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 294, in test_pdist_cityblock_random_nonC
    Y_test2 = pdist(X, 'test_cityblock')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'correlation') on the Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 345, in test_pdist_correlation_iris
    Y_test1 = pdist(X, 'correlation')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_correlation') [the non-C implementation]
on the Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 355, in test_pdist_correlation_iris_nonC
    Y_test2 = pdist(X, 'test_correlation')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'correlation') on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 325, in test_pdist_correlation_random
    Y_test1 = pdist(X, 'correlation')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_correlation') [the non-C implementation]
on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 335, in test_pdist_correlation_random_nonC
    Y_test2 = pdist(X, 'test_correlation')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'cosine') on the Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 263, in test_pdist_cosine_iris
    Y_test1 = pdist(X, 'cosine')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_cosine') [the non-C implementation] on the
Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 273, in test_pdist_cosine_iris_nonC
    Y_test2 = pdist(X, 'test_cosine')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'cosine') on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 244, in test_pdist_cosine_random
    Y_test1 = pdist(X, 'cosine')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_cosine') [the non-C implementation] on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 253, in test_pdist_cosine_random_nonC
    Y_test2 = pdist(X, 'test_cosine')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'hamming') on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 451, in test_pdist_dhamming_random
    Y_test1 = pdist(X, 'hamming')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_hamming') [the non-C implementation] on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 461, in test_pdist_dhamming_random_nonC
    Y_test2 = pdist(X, 'test_hamming')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'jaccard') on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 495, in test_pdist_djaccard_random
    Y_test1 = pdist(X, 'jaccard')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_jaccard') [the non-C implementation] on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 505, in test_pdist_djaccard_random_nonC
    Y_test2 = pdist(X, 'test_jaccard')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'euclidean') on the Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 185, in test_pdist_euclidean_iris
    Y_test1 = pdist(X, 'euclidean')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_euclidean') [the non-C implementation] on
the Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 194, in test_pdist_euclidean_iris_nonC
    Y_test2 = pdist(X, 'test_euclidean')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'euclidean') on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 166, in test_pdist_euclidean_random
    Y_test1 = pdist(X, 'euclidean')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_euclidean') [the non-C implementation] on
random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 175, in test_pdist_euclidean_random_nonC
    Y_test2 = pdist(X, 'test_euclidean')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'hamming') on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 429, in test_pdist_hamming_random
    Y_test1 = pdist(X, 'hamming')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_hamming') [the non-C implementation] on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 439, in test_pdist_hamming_random_nonC
    Y_test2 = pdist(X, 'test_hamming')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Testing whether passing a float96 variance matrix generates an exception.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 149, in test_pdist_ivar_raises_type_error_float96
    VI = numpy.zeros((10, 10), dtype=numpy.float96)
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'jaccard') on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 473, in test_pdist_jaccard_random
    Y_test1 = pdist(X, 'jaccard')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_jaccard') [the non-C implementation] on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 483, in test_pdist_jaccard_random_nonC
    Y_test2 = pdist(X, 'test_jaccard')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'minkowski') on iris data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 408, in test_pdist_minkowski_iris
    Y_test1 = pdist(X, 'minkowski', 5.8)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_minkowski') [the non-C implementation] on iris data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 418, in test_pdist_minkowski_iris_nonC
    Y_test2 = pdist(X, 'test_minkowski', 5.8)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'minkowski') on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 368, in test_pdist_minkowski_random
    Y_test1 = pdist(X, 'minkowski', 3.2)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_minkowski') [the non-C implementation] on
random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 378, in test_pdist_minkowski_random_nonC
    Y_test2 = pdist(X, 'test_minkowski', 3.2)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Testing whether passing a float96 observation array generates
an exception.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 104, in test_pdist_raises_type_error_float96
    X = numpy.zeros((10, 10), dtype=numpy.float96)
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'seuclidean') on the Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 224, in test_pdist_seuclidean_iris
    Y_test1 = pdist(X, 'seuclidean')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_seuclidean') [the non-C implementation] on
the Iris data set.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 233, in test_pdist_seuclidean_iris_nonC
    Y_test2 = pdist(X, 'test_sqeuclidean')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'seuclidean') on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 205, in test_pdist_seuclidean_random
    Y_test1 = pdist(X, 'seuclidean')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Tests pdist(X, 'test_sqeuclidean') [the non-C implementation]
on random data.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 214, in test_pdist_seuclidean_random_nonC
    Y_test2 = pdist(X, 'test_sqeuclidean')
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/hierarchy.py",
line 1307, in pdist
    if X.dtype == np.float32 or X.dtype == np.float96:
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Testing whether passing a float96 variance matrix generates an exception.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 126, in test_pdist_var_raises_type_error_float96
    V = numpy.zeros((10, 10), dtype=numpy.float96)
AttributeError: 'module' object has no attribute 'float96'

======================================================================
ERROR: Failure: ImportError (cannot import name _bspline)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose-0.10.1-py2.5.egg/nose/loader.py",
line 364, in loadTestsFromName
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose-0.10.1-py2.5.egg/nose/importer.py",
line 39, in importFromPath
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/nose-0.10.1-py2.5.egg/nose/importer.py",
line 84, in importFromDir
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/models/tests/test_bspline.py",
line 9, in <module>
    import scipy.stats.models.bspline as B
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/models/bspline.py",
line 23, in <module>
    from scipy.stats.models import _bspline
ImportError: cannot import name _bspline

======================================================================
ERROR: test_factor3 (test_formula.TestFormula)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/models/tests/test_formula.py",
line 231, in test_factor3
    m = fac.main_effect(reference=1)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/models/formula.py",
line 273, in main_effect
    reference = names.index(reference)
ValueError: list.index(x): x not in list

======================================================================
ERROR: test_factor4 (test_formula.TestFormula)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/models/tests/test_formula.py",
line 239, in test_factor4
    m = fac.main_effect(reference=2)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/models/formula.py",
line 273, in main_effect
    reference = names.index(reference)
ValueError: list.index(x): x not in list

======================================================================
ERROR: test_huber (test_scale.TestScale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/models/tests/test_scale.py",
line 35, in test_huber
    m = scale.huber(X)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/models/robust/scale.py",
line 82, in __call__
    for donothing in self:
  File "/Library/Frameworks/Python.framework/Versions/2.5/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 "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/fromnumeric.py",
line 930, 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 "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/models/tests/test_scale.py",
line 40, in test_huberaxes
    m = scale.huber(X, axis=0)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/stats/models/robust/scale.py",
line 82, in __call__
    for donothing in self:
  File "/Library/Frameworks/Python.framework/Versions/2.5/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 "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/fromnumeric.py",
line 930, in sum
    return sum(axis, dtype, out)
TypeError: only length-1 arrays can be converted to Python scalars

======================================================================
FAIL: Testing whether passing a float32 variance matrix generates an exception.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 144, in test_pdist_ivar_raises_type_error_float32
    self.fail("float32 matrices should generate an error in
pdist('mahalanobis').")
AssertionError: float32 matrices should generate an error in
pdist('mahalanobis').

======================================================================
FAIL: Testing whether passing a float32 variance matrix generates an exception.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/cluster/tests/test_hierarchy.py",
line 121, in test_pdist_var_raises_type_error_float32
    self.fail("float32 V matrices should generate an error in
pdist('seuclidean').")
AssertionError: float32 V matrices should generate an error in
pdist('seuclidean').

======================================================================
FAIL: test_texture2 (test_segment.TestSegment)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/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 "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/utils.py",
line 255, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/Library/Frameworks/Python.framework/Versions/2.5/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_gammaincinv (test_basic.TestGamma)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/special/tests/test_basic.py",
line 1056, in test_gammaincinv
    assert_almost_equal(0.05, x, decimal=10)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/testing/utils.py",
line 158, in assert_almost_equal
    assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
 ACTUAL: 0.050000000000000003
 DESIRED: 0.0

======================================================================
FAIL: test_namespace (test_formula.TestFormula)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/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])}

======================================================================
SKIP: Getting factors of complex matrix
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/testing/decorators.py",
line 81, in skipper
    raise nose.SkipTest, msg
SkipTest: UMFPACK appears not to be compiled

======================================================================
SKIP: Getting factors of real matrix
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/testing/decorators.py",
line 81, in skipper
    raise nose.SkipTest, msg
SkipTest: UMFPACK appears not to be compiled

======================================================================
SKIP: Getting factors of complex matrix
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/testing/decorators.py",
line 81, in skipper
    raise nose.SkipTest, msg
SkipTest: UMFPACK appears not to be compiled

======================================================================
SKIP: Getting factors of real matrix
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/testing/decorators.py",
line 81, in skipper
    raise nose.SkipTest, msg
SkipTest: UMFPACK appears not to be compiled

======================================================================
SKIP: Prefactorize (with UMFPACK) matrix for solving with multiple rhs
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/testing/decorators.py",
line 81, in skipper
    raise nose.SkipTest, msg
SkipTest: UMFPACK appears not to be compiled

======================================================================
SKIP: Prefactorize matrix for solving with multiple rhs
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/testing/decorators.py",
line 81, in skipper
    raise nose.SkipTest, msg
SkipTest: UMFPACK appears not to be compiled

======================================================================
SKIP: Solve with UMFPACK: double precision complex
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/testing/decorators.py",
line 81, in skipper
    raise nose.SkipTest, msg
SkipTest: UMFPACK appears not to be compiled

======================================================================
SKIP: Solve: single precision complex
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/testing/decorators.py",
line 81, in skipper
    raise nose.SkipTest, msg
SkipTest: UMFPACK appears not to be compiled

======================================================================
SKIP: Solve with UMFPACK: double precision, sparse rhs
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/testing/decorators.py",
line 81, in skipper
    raise nose.SkipTest, msg
SkipTest: UMFPACK appears not to be compiled

======================================================================
SKIP: Solve with UMFPACK: double precision
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/testing/decorators.py",
line 81, in skipper
    raise nose.SkipTest, msg
SkipTest: UMFPACK appears not to be compiled

======================================================================
SKIP: Solve: single precision
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/testing/decorators.py",
line 81, in skipper
    raise nose.SkipTest, msg
SkipTest: UMFPACK appears not to be compiled

----------------------------------------------------------------------
Ran 2116 tests in 23.236s

FAILED (failures=5, errors=44)

Is this some kind of issue with a recent revision to the scipy tests,
or is it all me?

Josh


More information about the SciPy-user mailing list