[Numpy-discussion] "import numpy" is slow

Alan McIntyre alan.mcintyre@gmail....
Wed Jul 30 21:21:02 CDT 2008


On Wed, Jul 30, 2008 at 8:19 PM, Andrew Dalke <dalke@dalkescientific.com> wrote:
> numpy defines
>
>  numpy.test
>  numpy.bench
>
> and
>
>  numpy.testing.test
>
> The two 'test's use the same implementation.  This is a likely
> unneeded duplication and one should be removed. The choice depends on
> if people think the name should be 'numpy.test' or 'numpy.testing.test'.

They actually do two different things; numpy.test() runs test for all
of numpy, and numpy.testing.test() runs tests for numpy.testing only.
There are similar functions in numpy.lib, numpy.core, etc.


More information about the Numpy-discussion mailing list