MAINT silence spurious mypy error
@@ -821,7 +821,7 @@ def test_regression_thresholded_inf_nan_input(metric, y_true, y_score):
# Add an additional case for classification only
# non-regression test for:
# https://github.com/scikit-learn/scikit-learn/issues/6809
- [([np.nan, 1, 2], [1, 2, 3])]
+ [([np.nan, 1, 2], [1, 2, 3])] # type: ignore
)
def test_classification_inf_nan_input(metric, y_true, y_score):
"""check that classification metrics raise a message mentioning the
