Test Support (numpy.testing)

Common test support for all numpy test scripts.

This single module should provide all the common functionality for numpy tests in a single location, so that test scripts can just import it and work right away.

Asserts

Decorators

decorators.deprecated([conditional]) Filter deprecation warnings while running the test suite.
decorators.knownfailureif(fail_condition[, msg]) Make function raise KnownFailureTest exception if given condition is true.
decorators.setastest([tf]) Signals to nose that this function is or is not a test.
decorators.skipif(skip_condition[, msg]) Make function raise SkipTest exception if a given condition is true.
decorators.slow(t) Label a test as ‘slow’.

Test Running