Skip to content

Commit c7958e0

Browse files
TST: msg on update with duplicate indexes (pandas-dev#55509)
1 parent b2acbc4 commit c7958e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/methods/test_update.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,5 +211,5 @@ def test_update_raises_on_duplicate_argument_index(self):
211211
# GH#55509
212212
df = DataFrame({"a": [True, True]}, index=[1, 2])
213213
other = DataFrame({"a": [False, False]}, index=[1, 1])
214-
with pytest.raises(ValueError, match="duplicate argument index"):
214+
with pytest.raises(ValueError, match="duplicate index"):
215215
df.update(other)

0 commit comments

Comments
 (0)