Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Jun 13, 2024
1 parent 254bdbf commit 6c64958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/tests/test_ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,7 @@ def test_record_batch_reader_cast():
with pytest.raises(pa.lib.ArrowTypeError, match='Field 0 cannot be cast'):
reader.cast(pa.schema([pa.field('a', pa.list_(pa.int32()))]))

# Cast to same type should always work also for date32
# Cast to same type should always work (also for types without a T->T cast function)
# (https://github.com/apache/arrow/issues/41884)
schema_src = pa.schema([pa.field('a', pa.date32())])
arr = pa.array([datetime.date(2024, 6, 11)], type=pa.date32())
Expand Down

0 comments on commit 6c64958

Please sign in to comment.