[Numpy-discussion] What happened to numpy.testing.Tester ?
Wed Aug 6 16:09:24 CDT 2008
Tester is a class, not a module. Try "from numpy.testing import Tester".
On 2008-08-06, Robert Pyle <firstname.lastname@example.org> wrote:
> On Aug 6, 2008, at 4:17 PM, Alan McIntyre wrote:
>> You will actually need to use NumPy from svn as well, since 1.1.1
>> didn't have NoseTester (SciPy 0.7 will require NumPy 1.2).
> Thanks. I can now import scipy, but I'm puzzled by the following:
> Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
> [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import numpy as np
> >>> np.__version__
> >>> import np.testing.Tester
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named np.testing.Tester
> >>> import scipy
> >>> scipy.__version__
> How come 'import np.testing.Tester' fails, but scipy imports okay even
> though it used to fail with a complaint about the absence of
> Numpy-discussion mailing list
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion