[SciPy-dev] [OT] Skipping a function wronlgy identified by nose

Alan McIntyre alan.mcintyre at gmail.com
Thu Feb 19 16:43:15 EST 2009


You can use the setastest decorator from numpy.testing.dec if you want
nose to ignore it.

On Thu, Feb 19, 2009 at 1:31 PM, Gael Varoquaux
<gael.varoquaux at normalesup.org> wrote:
> Sorry, this is off topic, but I know there are many nose users on this
> mailing list.
>
> Here is the problem: in our library, we have a perfectly valid function
> that is called 'onesample_test'. Due to the name, nose identifies it as a
> function (also because it is defined in a file called
> 'statistical_test.py').
>
> Does anybody have an idea of what the right way to tell nose to skip it
> is? Nose is passing it the wrong number of arguments, and as a result it
> is appearing as a bogus error in the test suite.
>
> Thanks,
>
> Gaël
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>



More information about the SciPy-Dev mailing list