The test_parallel.test_setup_remote_backend function would give an error if scikit-learn was not installed. This is because we try to mock the parallel._sklearn_reg_para_backend function, and that doesn't exist if scikit-learn isn't installed. Fix by ensuring that attribute is always defined.
The
test_parallel.test_setup_remote_backend
function would give an error if scikit-learn was not installed. This is because we try to mock theparallel._sklearn_reg_para_backend
function, and that doesn't exist if scikit-learn isn't installed. Fix by ensuring that attribute is always defined.Closes #245 .