Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44f0b61 commit c2118a6Copy full SHA for c2118a6
sklearn/cluster/tests/test_feature_agglomeration.py
@@ -70,7 +70,7 @@ def test_inverse_transform_Xt_deprecation():
70
with pytest.raises(TypeError, match="Missing required positional argument"):
71
est.inverse_transform()
72
73
- 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."):
74
est.inverse_transform(X=X, Xt=X)
75
76
with warnings.catch_warnings(record=True):
0 commit comments