Patch scikit-learn test.