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
test_20news fails in master branch #4711
Comments
I came across this the other day as well and fixed it as follows: Try deleting |
Wait, a doctest downloads? That is no good. Hum, that might also happen with mnist. we should check that. |
Yep, at least locally for me...
A directory |
FWIW, the doctests ran in 78.453s when download was triggered on first run, and 38.172s second run. |
Can you open a separate issue for that please? |
I also got that at some point. Did we change what we download? Or what happened? |
I can take a look at this now. |
@mattgiguere Please do :) |
this commit fixes issue scikit-learn#4711
Deleting scikit_learn_data/20news-bydate.pkz just skips the tests. All of the test functions in test_20news.py whcih call fetch_20newsgroups() override the default of download_if_missing with FALSE. |
@racheltho and I looked into this, and this error seems to have been related with the Bunch class. I could recreate the error in 0.17, but it appears to have been fixed in 0.18. @amueller, we suggest closing this issue. |
Added pull request #5864. 20news-bydate.pkz was getting downloaded while processing "working_with_text_data.rst". It probably shouldn't be downloaded there but in test_20news.py instead. If the file is actually there, the test get run and it fails with issues with the Bunch class. |
hm we should also fix the problem in the bunch class :-/ |
I work on Debian GNU/Linux 7 (wheezy).
The test
test_20news
fails on my three conda environnements:The text was updated successfully, but these errors were encountered: