Skip to content

Commit

Permalink
32-bit compat
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Jul 3, 2019
1 parent bd2cbfd commit 47c6b57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pandas/tests/extension/base/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def test_argsort(self, data_for_sorting):
def test_argsort_missing_array(self, data_missing_for_sorting):
result = data_missing_for_sorting.argsort()
expected = np.array([2, 0, 1], dtype=np.dtype("int"))
# we don't care whether it's int32 or int64
result = result.astype("int64", casting="safe")
expected = expected.astype("int64", casting="safe")
tm.assert_numpy_array_equal(result, expected)

def test_argsort_missing(self, data_missing_for_sorting):
Expand Down

0 comments on commit 47c6b57

Please sign in to comment.