Fix #3730: scikit-learn 0.20 compatibility fix (#3731)

* Fix #3730: scikit-learn 0.20 compatibility fix

sklearn.cross_validation has been removed from scikit-learn 0.20,
so replace it with sklearn.model_selection

* Display test names for Python tests for clarity
This commit is contained in:
Philip Hyunsu Cho
2018-09-27 15:03:05 -07:00
committed by GitHub
parent fbe9d41dd0
commit 51478a39c9
4 changed files with 31 additions and 48 deletions

View File

@@ -4,6 +4,6 @@ set -e
cd python-package
python setup.py install --user
cd ..
python -m nose --attr='!slow' tests/python-gpu/
python -m nose -v --attr='!slow' tests/python-gpu/
./testxgboost