Skip to content

Commit 552bc9d

Browse files
author
Fabian Pedregosa
committed
DOC: exaple for sklearn.test()
1 parent 79f949e commit 552bc9d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sklearn/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ class NoseTester(nosetester.NoseTester):
2626

2727
def test(self, label='fast', verbose=1, extra_argv=['--exe'],
2828
doctests=True, coverage=False):
29+
"""Run the full test suite
30+
31+
Examples
32+
--------
33+
This will run the test suite and stop at the first failing
34+
example
35+
>>> from sklearn import test
36+
>>> sklearn.test(extra_argv=['-x']) #doctest: +SKIP
37+
"""
2938
return super(NoseTester, self).test(label=label, verbose=verbose,
3039
extra_argv=extra_argv,
3140
doctests=doctests, coverage=coverage)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy