Skip to content

Commit 02a56a6

Browse files
committed
updated msg test function
1 parent be7e98b commit 02a56a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/series/methods/test_replace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ def test_replace_dict_like_with_dict_like(self):
501501
s = pd.Series([1, 2, 3, 4, 5])
502502
to_replace = pd.Series([1])
503503
value = pd.Series([75])
504-
msg = "Series.replace cannot use dict-like to_replace dict-like."
504+
msg = "to_replace and value cannot be dict-like for Series.replace"
505505
with pytest.raises(ValueError, match=msg):
506506
s.replace(to_replace, value)
507507

0 commit comments

Comments
 (0)