Skip to content

Commit dd0278c

Browse files
committed
BUG: Remove special-casing for Python date objects in DatetimeIndex
1 parent d03cb23 commit dd0278c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/indexing/test_indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1889,7 +1889,7 @@ def test_datetime_indexer_consistency_pyarrow_date32():
18891889
dti = Index(ser3)
18901890

18911891
# Make sure we don't treat Arrow date as timestamp
1892-
dtype = ser.dtype.arrow_dtype
1892+
dtype = ser.dtype.pyarrow_dtype
18931893
assert not (dtype.kind == "M" and not pa.types.is_date(dtype))
18941894

18951895
with pytest.raises(KeyError):

0 commit comments

Comments
 (0)