Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2118a6

Browse files
authored
Update sklearn/cluster/tests/test_feature_agglomeration.py
1 parent 44f0b61 commit c2118a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/cluster/tests/test_feature_agglomeration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_inverse_transform_Xt_deprecation():
7070
with pytest.raises(TypeError, match="Missing required positional argument"):
7171
est.inverse_transform()
7272

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

7676
with warnings.catch_warnings(record=True):

0 commit comments

Comments
 (0)