Skip to content

Commit 3fea3e0

Browse files
author
nli307
committed
working on tests
1 parent 0f31992 commit 3fea3e0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/tests/dtypes/cast/test_find_common_type.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,8 @@ def test_pyarrow_date_dtypes(dtypes, expected):
211211
>>> pa.from_numpy_dtype(np.dtype('datetime64[ms]'))
212212
TimestampType(timestamp[ms])
213213
214-
To fix this test, we would need to have
215-
>>> pa.from_numpy_dtype(np.dtype('datetime64[ms]'))
216-
DataType(date64[ms])
214+
To fix this test, we would need to have an exception
215+
that makes datetime64[ms] convert to date64[ms].
217216
218217
But date64 isn't the same as datetime64[ms]. date64
219218
is meant to represent a date (without time) only,

0 commit comments

Comments
 (0)