Skip to content
Draft
Prev Previous commit
Next Next commit
working on tests
  • Loading branch information
nli307 committed Nov 8, 2025
commit 3fea3e0a3f66a1487521ba61355d25daa4bcd7da
5 changes: 2 additions & 3 deletions pandas/tests/dtypes/cast/test_find_common_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,8 @@ def test_pyarrow_date_dtypes(dtypes, expected):
>>> pa.from_numpy_dtype(np.dtype('datetime64[ms]'))
TimestampType(timestamp[ms])

To fix this test, we would need to have
>>> pa.from_numpy_dtype(np.dtype('datetime64[ms]'))
DataType(date64[ms])
To fix this test, we would need to have an exception
that makes datetime64[ms] convert to date64[ms].

But date64 isn't the same as datetime64[ms]. date64
is meant to represent a date (without time) only,
Expand Down
Loading