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 dd0278c commit 7371adcCopy full SHA for 7371adc
pandas/tests/frame/indexing/test_indexing.py
@@ -1890,7 +1890,7 @@ def test_datetime_indexer_consistency_pyarrow_date32():
1890
1891
# Make sure we don't treat Arrow date as timestamp
1892
dtype = ser.dtype.pyarrow_dtype
1893
- assert not (dtype.kind == "M" and not pa.types.is_date(dtype))
+ assert not (pa.types.is_timestamp(dtype) and not pa.types.is_date(dtype))
1894
1895
with pytest.raises(KeyError):
1896
dti.get_loc(ser[0])
0 commit comments