Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scikit-learn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ian Johnson
scikit-learn
Commits
bd0b93e9
Commit
bd0b93e9
authored
11 years ago
by
Olivier Grisel
Browse files
Options
Downloads
Patches
Plain Diff
DOC safer way to run the tests under windows
parent
30347e9a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.rst
+8
-2
8 additions, 2 deletions
README.rst
doc/install.rst
+7
-1
7 additions, 1 deletion
doc/install.rst
with
15 additions
and
3 deletions
README.rst
+
8
−
2
View file @
bd0b93e9
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
doc/install.rst
+
7
−
1
View file @
bd0b93e9
...
...
@@ -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::
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment