Skip to content

Commit af88c20

Browse files
authored
Update the error message in test_indexing.py
1 parent 5e0948d commit af88c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/indexing/test_indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def test_getitem_setitem_integer_slice_keyerrors(self):
564564

565565
# non-monotonic, raise KeyError
566566
df2 = df.iloc[list(range(5)) + list(range(5, 10))[::-1]]
567-
msg = "non-monotonic index with a non-specific label: 3"
567+
msg = "non-monotonic index with a missing label 3"
568568
with pytest.raises(KeyError, match=msg):
569569
df2.loc[3:11]
570570
with pytest.raises(KeyError, match=msg):

0 commit comments

Comments
 (0)