From 6c649581dfadf726d8609bb22cea3ff131ae2e12 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Thu, 13 Jun 2024 09:19:35 +0200 Subject: [PATCH] update comment --- python/pyarrow/tests/test_ipc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyarrow/tests/test_ipc.py b/python/pyarrow/tests/test_ipc.py index af7a0c5331a19..d8eb6e926e4c0 100644 --- a/python/pyarrow/tests/test_ipc.py +++ b/python/pyarrow/tests/test_ipc.py @@ -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())