Skip to content

Commit f7576ea

Browse files
committed
Ignore the right warning category
1 parent cf1bd2f commit f7576ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/inspection/tests/test_partial_dependence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def test_multiclass_multioutput(Estimator):
263263
y = np.array([y, y]).T
264264

265265
est = Estimator()
266-
with ignore_warnings(category=DeprecationWarning):
266+
with ignore_warnings(category=FutureWarning):
267267
est.fit(X, y)
268268

269269
with pytest.raises(

0 commit comments

Comments
 (0)