[Numpy-discussion] test errors in the trunk

Darren Dale dsdale24@gmail....
Fri Jul 30 13:22:23 CDT 2010


I just upgraded my svn checkout and did a fresh install. When I try to
run the test suite, I get a ton of errors:


np.test()
Running unit tests for numpy
NumPy version 2.0.0.dev8550
NumPy is installed in /Users/darren/.local/lib/python2.6/site-packages/numpy
Python version 2.6.5 (r265:79063, Jul 19 2010, 09:08:11) [GCC 4.2.1
(Apple Inc. build 5659)]
nose version 0.11.3
................................................................................................................Reloading
numpy.lib
Reloading numpy.lib.info
Reloading numpy.lib.numpy
Reloading numpy
Reloading numpy.numpy
Reloading numpy.show
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================

[...]

  File "/Users/darren/.local/lib/python2.6/site-packages/numpy/lib/__init__.py",
line 23, in <module>
    __all__ += type_check.__all__
NameError: name 'type_check' is not defined


I checked numpy/lib/__init__.py, and it does a bunch of imports like
"from type_check import *" but not "import type_check", which are
needed to append to __all__.

Darren


More information about the NumPy-Discussion mailing list