Run tests for module using nose.
Parameters : | label : {‘fast’, ‘full’, ‘’, attribute identifier}, optional
verbose : int, optional
extra_argv : list, optional
doctests : bool, optional
coverage : bool, optional
raise_warnings : str or sequence of warnings, optional
|
---|---|
Returns : | result : object
|
Notes
Each NumPy module exposes test in its namespace to run all tests for it. For example, to run all tests for numpy.lib:
>>> np.lib.test()
Examples
>>> result = np.lib.test()
Running unit tests for numpy.lib
...
Ran 976 tests in 3.933s
OK
>>> result.errors
[]
>>> result.knownfail
[]