Skip to content

Commit 51a1a3c

Browse files
committed
undo testcase change
1 parent 0f85550 commit 51a1a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/indexing/test_loc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_loc_getitem_label_out_of_range(self):
122122
self.check_result('label range', 'loc', 20, 'ix', 20,
123123
typs=['ints', 'uints', 'mixed'], fails=KeyError)
124124
self.check_result('label range', 'loc', 20, 'ix', 20,
125-
typs=['labels'], fails=KeyError)
125+
typs=['labels'], fails=TypeError)
126126
self.check_result('label range', 'loc', 20, 'ix', 20, typs=['ts'],
127127
axes=0, fails=TypeError)
128128
self.check_result('label range', 'loc', 20, 'ix', 20, typs=['floats'],

0 commit comments

Comments
 (0)