diff options
Diffstat (limited to 'doc/source/reference/routines.testing.rst')
-rw-r--r-- | doc/source/reference/routines.testing.rst | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/source/reference/routines.testing.rst b/doc/source/reference/routines.testing.rst new file mode 100644 index 000000000..5a5f4cb8c --- /dev/null +++ b/doc/source/reference/routines.testing.rst @@ -0,0 +1,46 @@ +Test Support (:mod:`numpy.testing`) +=================================== + +.. currentmodule:: 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 +======= +.. autosummary:: + :toctree: generated/ + + assert_almost_equal + assert_approx_equal + assert_array_almost_equal + assert_array_equal + assert_array_less + assert_equal + assert_raises + assert_string_equal + +Decorators +---------- +.. autosummary:: + :toctree: generated/ + + decorators.knownfailureif + decorators.setastest + decorators.skipif + decorators.slow + decorate_methods + + +Test Running +------------ +.. autosummary:: + :toctree: generated/ + + Tester + run_module_suite + rundocs |