8000 Remove conflicting error messages · scikit-learn/scikit-learn@908a7c5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 908a7c5

Browse files
committed
Remove conflicting error messages
1 parent d94497d commit 908a7c5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

sklearn/inspection/_plot/tests/test_plot_partial_dependence.py

-10
Original file line numberDiff line numberDiff line change
@@ -611,16 +611,6 @@ def test_plot_partial_dependence_dataframe(pyplot, clf_diabetes, diabetes):
611611
{"features": [1], "categorical_features": [1], "kind": "individual"},
612612
"It is not possible to display individual effects",
613613
),
614-
(
615-
dummy_classification_data,
616-
{"features": [1], "kind": "foo"},
617-
"Values provided to `kind` must be one of",
618-
),
619-
(
620-
dummy_classification_data,
621-
{"features": [0, 1], "kind": ["foo", "individual"]},
622-
"Values provided to `kind` must be one of",
623-
),
624614
],
625615
)
626616
def test_plot_partial_dependence_error(pyplot, data, params, err_msg):

0 commit comments

Comments
 (0)
0