-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Fetchers docstring examples trigger dataset fetch in CI #28707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is probably doable to skip doctests in |
Uhm normally, I almost sure to have written some code to avoid this using some fixture. |
At list it was the intent behind this PR: |
And indeed, the scikit-learn/sklearn/conftest.py Lines 71 to 80 in 1bbb228
So this is a simple fix. /take |
Docstring examples were recently added to the fetchers. This makes the doc tests executed by pytest actually fetch the datasets.
In the fetcher tests we took some precaution to not fetch the real datasets, see
scikit-learn/sklearn/datasets/tests/test_lfw.py
Line 40 in 1bbb228
It has a significant impact on the duration of the test suite (and probably on memory usage as well)
The text was updated successfully, but these errors were encountered: