[SciPy-dev] Making numpy test work in scikits

Stefan van der Walt stefan@sun.ac...
Fri Jul 20 07:32:55 CDT 2007


On Fri, Jul 20, 2007 at 09:05:51PM +0900, David Cournapeau wrote:
> Stefan van der Walt wrote:
> > On Fri, Jul 20, 2007 at 07:54:19PM +0900, David Cournapeau wrote:
> >   
> >> to return a testsuite (that's the core problem: NumpyTest sometimes run 
> >> tests, sometimes returns the testsuite).
> >>     
> >
> > When level < 0, NumpyTest.test always returns a testsuite, i.e.
> >
> > In [9]: print NumpyTest(numpy.linalg).test(level=-1)
> >   Found 32 tests for numpy.linalg
> >   Found 0 tests for __main__
> > <unittest.TestSuite tests=[<numpy.tests.test_linalg.test_det
> >   testMethod=check_cdouble>,  ... , <numpy.tests.test_linalg.test_svd testMethod=check_single>]>
> >
> >   
> Can you do the same but without executing the testsuite ? I don't want 
> to run anything, just get the testsuite, which will be run by
> setuptools.

The test suite isn't executed above.

Cheers
Stéfan


More information about the Scipy-dev mailing list