Skip to content

Commit 149b9c4

Browse files
committed
Revert unintended changes in datetimes.py and test_asfreq.py
1 parent 7441046 commit 149b9c4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/tests/frame/indexing/test_indexing.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,8 +1887,10 @@ def test_datetime_indexer_consistency_pyarrow_date32():
18871887
dti = Index(ser3)
18881888
# All should be consistent
18891889
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])
1890+
tm.assert_numpy_array_equal(dti.get_indexer(ser.values), np.array([0]))
1891+
tm.assert_numpy_array_equal(
1892+
dti.get_indexer(ser.values.astype(object)), np.array([0])
1893+
)
18921894

18931895

18941896
class TestSetitemValidation:

0 commit comments

Comments
 (0)