diff --git a/README.rst b/README.rst index 208ff9f32e40f8e7ffac4c3dcb054e9d7306be06..ffc6cec408ddec236c12f1385f82602a4ee1d2ad 100644 --- a/README.rst +++ b/README.rst @@ -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. diff --git a/doc/install.rst b/doc/install.rst index 6c5eece0edb25e4574a1f6090c29b901542149ac..d3633128121568def548e1bf59391ec1b0778a51 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -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::