This is documentation for an old release of NumPy (version 1.6.0). Read this page in the documentation of the latest stable release (version > 1.17).
Run doctests found in the given file.
By default rundocs raises an AssertionError on failure.
Parameters : | filename : str
raise_on_error : bool
|
---|
Notes
The doctests can be run by the user/developer by adding the doctests argument to the test() call. For example, to run all tests (including doctests) for numpy.lib:
>>> np.lib.test(doctests=True)