[SciPy-dev] Making numpy test work in scikits

Stefan van der Walt stefan at sun.ac.za
Fri Jul 20 08:34:48 EDT 2007


On Fri, Jul 20, 2007 at 09:23:11PM +0900, David Cournapeau wrote:
> def test_suite(*args):
>     return NumpyTest().test(level = -1)
> 
> Then while executing the tests with setuptools, I have some infinite 
> recursion (which is due to the fact that NumpyTest is importing the 
> current package I guess ?). I am kind of stuck, and I feel like I 
> already wasted way too much time on this.

What happens if you specify the name of the module you wish to test,
i.e.

def test_suite(*args):
    return NumpyTest("mymodule").test(level=-1)

?

Cheers
Stéfan



More information about the SciPy-Dev mailing list