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 209f118 commit a90ea69Copy full SHA for a90ea69
tests/indexes/test_indexes.py
@@ -1650,5 +1650,5 @@ def test_index_get_slice_bound() -> None:
1650
def test_index_slice_locs() -> None:
1651
idx = pd.Index([1, 3])
1652
res = idx.slice_locs(0, 1)
1653
- check(assert_type(res[0], np.integer), np.integer)
1654
- check(assert_type(res[1], int), int)
+ check(assert_type(res[0], np.integer | int), np.integer)
+ check(assert_type(res[1], np.integer | int), int)
0 commit comments