As discuss in https://github.com/scikit-learn/scikit-learn/issues/2752, it would be nice to test sample weight in common tests.