We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd2cbfd commit 47c6b57Copy full SHA for 47c6b57
pandas/tests/extension/base/methods.py
@@ -50,6 +50,9 @@ def test_argsort(self, data_for_sorting):
50
def test_argsort_missing_array(self, data_missing_for_sorting):
51
result = data_missing_for_sorting.argsort()
52
expected = np.array([2, 0, 1], dtype=np.dtype("int"))
53
+ # we don't care whether it's int32 or int64
54
+ result = result.astype("int64", casting="safe")
55
+ expected = expected.astype("int64", casting="safe")
56
tm.assert_numpy_array_equal(result, expected)
57
58
def test_argsort_missing(self, data_missing_for_sorting):
0 commit comments