8000 TST Fixes test error · scikit-learn/scikit-learn@4cc6c51 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4cc6c51

Browse files
committed
TST Fixes test error
1 parent 062ea2a commit 4cc6c51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/inspection/_plot/tests/test_boundary_decision_display.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def fit(self, X, y):
225225

226226

227227
@pytest.mark.parametrize("response_method", ["auto", "predict", "predict_proba"])
228-
def test_multilabel_classifier_error(response_method):
228+
def test_multilabel_classifier_error(pyplot, response_method):
229229
"""Check that multilabel classifier raises correct error."""
230230
X, y = make_multilabel_classification(random_state=0)
231231
X = X[:, :2]
@@ -241,7 +241,7 @@ def test_multilabel_classifier_error(response_method):
241241

242242

243243
@pytest.mark.parametrize("response_method", ["auto", "predict", "predict_proba"])
244-
def test_multi_output_multi_class_classifier_error(response_method):
244+
def test_multi_output_multi_class_classifier_error(pyplot, response_method):
245245
"""Check that multi-output multi-class classifier raises correct error."""
246246
X = np.asarray([[0, 1], [1, 2]])
247247
y = np.asarray([["tree", "cat"], ["cat", "tree"]])

0 commit comments

Comments
 (0)
0