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

Alan McIntyre alan.mcintyre@gmail....
Thu Feb 19 15:43:15 CST 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@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@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>


More information about the Scipy-dev mailing list