Skip to content

Commit

Permalink
Update sklearn/cluster/tests/test_feature_agglomeration.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wd60622 committed Apr 29, 2024
1 parent 44f0b61 commit c2118a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/cluster/tests/test_feature_agglomeration.py
Expand Up @@ -70,7 +70,7 @@ def test_inverse_transform_Xt_deprecation():
with pytest.raises(TypeError, match="Missing required positional argument"):
est.inverse_transform()

with pytest.raises(TypeError, match="Cannot use both X and Xt. Use X only."):
with pytest.raises(TypeError, match="Cannot use both 'X' and 'Xt'. Use 'X' only."):
est.inverse_transform(X=X, Xt=X)

with warnings.catch_warnings(record=True):
Expand Down

0 comments on commit c2118a6

Please sign in to comment.