Skip to content

Commit 1452e71

Browse files
TomAugspurgerjreback
authored andcommitted
COMPAT: 32-bit nargsort (#27064)
1 parent e955515 commit 1452e71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/extension/base/methods.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def test_argsort_missing(self, data_missing_for_sorting):
5353
self.assert_series_equal(result, expected)
5454

5555
@pytest.mark.parametrize('na_position, expected', [
56-
('last', np.array([2, 0, 1], dtype='int64')),
57-
('first', np.array([1, 2, 0], dtype='int64'))
56+
('last', np.array([2, 0, 1], dtype=np.dtype('intp'))),
57+
('first', np.array([1, 2, 0], dtype=np.dtype('intp')))
5858
])
5959
def test_nargsort(self, data_missing_for_sorting, na_position, expected):
6060
# GH 25439

0 commit comments

Comments
 (0)