Skip to content

Commit 1c59ae7

Browse files
committed
BUG: Remove special-casing for Python date objects in DatetimeIndex
1 parent 6583c57 commit 1c59ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/series/test_arithmetic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ def test_align_date_objects_with_datetimeindex(self):
769769
result2 = ts2 + ts
770770

771771
date_labels = [x.date() for x in rng[5:]]
772-
expected_index = Index(list(rng) + date_labels, dtype=object)
772+
expected_index = Index(date_labels + list(rng), dtype=object)
773773

774774
# Length and index checks
775775
assert len(result) == 35

0 commit comments

Comments
 (0)