Skip to content

Commit b7dd182

Browse files
committed
Updating test_multiindex_assignment_single_dtype method in testsetindex.py
1 parent b539868 commit b7dd182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/indexing/multiindex/test_setitem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def test_multiindex_assignment_single_dtype(self):
225225
tm.assert_series_equal(df.loc[4, "c"], exp)
226226

227227
# invalid assignments
228-
msg = "Must have equal len keys and value when setting with an iterable"
228+
msg = "Length mismatch when setting Dataframe with an iterable"
229229
with pytest.raises(ValueError, match=msg):
230230
df.loc[4, "c"] = [0, 1, 2, 3]
231231

0 commit comments

Comments
 (0)