Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
try intp?
  • Loading branch information
TomAugspurger committed Jun 27, 2019
commit 631be47c9f741ef0ae91a98b3cb7fe6603437f8f
4 changes: 2 additions & 2 deletions pandas/tests/extension/base/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def test_argsort_missing(self, data_missing_for_sorting):
self.assert_series_equal(result, expected)

@pytest.mark.parametrize('na_position, expected', [
('last', np.array([2, 0, 1], dtype='int')),
('first', np.array([1, 2, 0], dtype='int'))
('last', np.array([2, 0, 1], dtype=np.dtype('intp'))),
('first', np.array([1, 2, 0], dtype=np.dtype('intp')))
])
def test_nargsort(self, data_missing_for_sorting, na_position, expected):
# GH 25439
Expand Down