Skip to content

Commit 60b9e69

Browse files
authored
Update the error message in test_indexing.py
1 parent af88c20 commit 60b9e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/indexes/numeric/test_indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def test_slice_locs_na(self):
600600

601601
def test_slice_locs_na_raises(self):
602602
index = Index([np.nan, 1, 2])
603-
msg = "non-monotonic index with a non-specific label: 1.5"
603+
msg = "non-monotonic index with a missing label 1.5"
604604
with pytest.raises(KeyError, match=msg):
605605
index.slice_locs(start=1.5)
606606

0 commit comments

Comments
 (0)