We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e0948d commit af88c20Copy full SHA for af88c20
pandas/tests/frame/indexing/test_indexing.py
@@ -564,7 +564,7 @@ def test_getitem_setitem_integer_slice_keyerrors(self):
564
565
# non-monotonic, raise KeyError
566
df2 = df.iloc[list(range(5)) + list(range(5, 10))[::-1]]
567
- msg = "non-monotonic index with a non-specific label: 3"
+ msg = "non-monotonic index with a missing label 3"
568
with pytest.raises(KeyError, match=msg):
569
df2.loc[3:11]
570
0 commit comments