Skip to content

Commit 76c93e4

Browse files
committed
BUG: Remove special-casing for Python date objects in DatetimeIndex
1 parent be5528e commit 76c93e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/indexes/datetimes/test_indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def test_get_indexer(self):
571571
),
572572
(
573573
[Timestamp("2020-01-01"), Timestamp(date(2020, 1, 2))],
574-
np.array([0, -1], dtype=np.intp),
574+
np.array([0, 1], dtype=np.intp),
575575
),
576576
],
577577
)

0 commit comments

Comments
 (0)