We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7441046 commit 149b9c4Copy full SHA for 149b9c4
pandas/tests/frame/indexing/test_indexing.py
@@ -1887,8 +1887,10 @@ def test_datetime_indexer_consistency_pyarrow_date32():
1887
dti = Index(ser3)
1888
# All should be consistent
1889
assert dti.get_loc(ser[0]) == 0
1890
- tm.assert_numpy_array_equal(dti.get_indexer(ser.values), [0])
1891
- tm.assert_numpy_array_equal(dti.get_indexer(ser.values.astype(object)), [0])
+ tm.assert_numpy_array_equal(dti.get_indexer(ser.values), np.array([0]))
+ tm.assert_numpy_array_equal(
1892
+ dti.get_indexer(ser.values.astype(object)), np.array([0])
1893
+ )
1894
1895
1896
class TestSetitemValidation:
0 commit comments