Skip to content
Snippets Groups Projects
Commit bd0b93e9 authored by Olivier Grisel's avatar Olivier Grisel
Browse files

DOC safer way to run the tests under windows

parent 30347e9a
No related branches found
No related tags found
No related merge requests found
......@@ -102,9 +102,15 @@ Testing
-------
After installation, you can launch the test suite from outside the
source directory (you will need to have nosetests installed)::
source directory (you will need to have the ``nose`` package installed)::
$ nosetests --exe sklearn
$ nosetests -v sklearn
Under Windows, it is recommended to use the following command (adjust the path
to the ``python.exe`` program) as using the ``nosetests.exe`` program can badly
interact with tests that use ``multiprocessing``::
C:\Python34\python.exe -c "import nose; nose.main()" -v sklearn
See the web page http://scikit-learn.org/stable/install.html#testing
for more information.
......
......@@ -295,7 +295,13 @@ Testing requires having the `nose
installation, the package can be tested by executing *from outside* the
source directory::
nosetests sklearn --exe
$ nosetests -v sklearn
Under Windows, it is recommended to use the following command (adjust the path
to the ``python.exe`` program) as using the ``nosetests.exe`` program can badly
interact with tests that use ``multiprocessing``::
C:\Python34\python.exe -c "import nose; nose.main()" -v sklearn
This should give you a lot of output (and some warnings) but
eventually should finish with a message similar to::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment