MAINT fix test_check_classifiers_multilabel_output_format_predict_proba on [scipy-dev]
@@ -802,7 +802,7 @@ def test_check_classifiers_multilabel_output_format_predict_proba():
# 1. unknown output type
clf = MultiLabelClassifierPredictProba(response_output=sp.csr_matrix(y_test))
err_msg = (
- r"Unknown returned type <class 'scipy.sparse.csr.csr_matrix'> by "
+ "Unknown returned type .*csr_matrix.* by "
r"MultiLabelClassifierPredictProba.predict_proba. A list or a Numpy "
r"array is expected."
)
