__call__(self, label='fast', verbose=1, extra_argv=None, doctests=False, coverage=False, durations=-1, tests=None)
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() #doctest: +SKIP
Identifies the tests to run. When set to 'fast', tests decorated with :None:None:`pytest.mark.slow`
are skipped, when 'full', the slow marker is ignored.
Verbosity value for test outputs, in the range 1-3. Default is 1.
List with any extra arguments to pass to pytests.
If True, report coverage of NumPy code. Default is False. Requires installation of (pip) pytest-cov.
If < 0, do nothing, If 0, report time of all tests, if > 0, report the time of the slowest :None:None:`timer`
tests. Default is -1.
Tests to be executed with pytest '--pyargs'
Return True on success, false otherwise.
Run tests for module using pytest.
>>> result = np.lib.test() #doctest: +SKIP ... 1023 passed, 2 skipped, 6 deselected, 1 xfailed in 10.39 secondsThis example is valid syntax, but we were not able to check execution
>>> result TrueSee :
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them