[Numpy-discussion] running numpy tests

Robert Kern robert.kern@gmail....
Mon Aug 4 19:00:00 CDT 2008


On Mon, Aug 4, 2008 at 18:15, Andrew Dalke <dalke@dalkescientific.com> wrote:
> I'm working on the patches for reducing the import overhead.  I want
> to make sure I don't break anything.  I'm trying to figure out how to
> run all of the tests.  I expected, based on the following
>
> Alan McIntyre wrote:
>> 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.
>
> Robert Kern wrote:
>> By now, we have most
>> of the denizens here trained to do numpy.test() when testing their new
>> installations.
>
>
> README:
>> After installation, tests can be run (from outside the source
>> directory) with:
>>
>> python -c 'import numpy; numpy.test()'
>
>
> that 'numpy.test()' runs everthing.
>
>
> When I run numpy.test() I don't seem to run all of the tests.  That
> is, I don't see the output I get when I run numpy.lib.test() .
> Here's a copy of my output, to show you what I mean.

You have old stuff in your checkout/installation. Make sure you have
deleted all of the *.pycs and directories which have been deleted in
SVN.

> Also, I can't
> figure out what when I run a test I get a new Python prompt.

I can't parse that sentence.

-- 
Robert Kern

"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 mailing list