[SciPy-dev] Making numpy test work in scikits

Stefan van der Walt stefan@sun.ac...
Fri Jul 20 06:58:38 CDT 2007


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>]>

Regards
Stéfan


More information about the Scipy-dev mailing list