Skip to content

Commit a90ea69

Browse files
committed
fix slice_locs test
1 parent 209f118 commit a90ea69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/indexes/test_indexes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,5 +1650,5 @@ def test_index_get_slice_bound() -> None:
16501650
def test_index_slice_locs() -> None:
16511651
idx = pd.Index([1, 3])
16521652
res = idx.slice_locs(0, 1)
1653-
check(assert_type(res[0], np.integer), np.integer)
1654-
check(assert_type(res[1], int), int)
1653+
check(assert_type(res[0], np.integer | int), np.integer)
1654+
check(assert_type(res[1], np.integer | int), int)

0 commit comments

Comments
 (0)