numpy.testing.decorators.setastest()

numpy.testing.decorators.setastest

numpy.testing.decorators.setastest(tf=True) [source]

Signals to nose that this function is or is not a test.

Parameters:

tf : bool

If True, specifies that the decorated callable is a test. If False, specifies that the decorated callable is not a test. Default is True.

Notes

This decorator can’t use the nose namespace, because it c