[SciPy-dev] Making numpy test work in scikits

David Cournapeau david at ar.media.kyoto-u.ac.jp
Fri Jul 20 08:05:51 EDT 2007


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.

David



More information about the SciPy-Dev mailing list