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
Next Next commit
COMPAT: 32-bit nargsort
  • Loading branch information
TomAugspurger committed Jun 26, 2019
commit 0c70c3e4dd2ad54d88e955933fee2dc2494dce0e
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='int64')),
('first', np.array([1, 2, 0], dtype='int64'))
('last', np.array([2, 0, 1], dtype='int')),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm this is failing on windows, maybe you need intp here?

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