()
| 715 | |
| 716 | |
| 717 | def test_roundtrip_chunked_array_capsule(): |
| 718 | chunked = pa.chunked_array([pa.array(["a", "b", "c"])]) |
| 719 | |
| 720 | capsule = chunked.__arrow_c_stream__() |
| 721 | assert PyCapsule_IsValid(capsule, b"arrow_array_stream") == 1 |
| 722 | imported_chunked = pa.ChunkedArray._import_from_c_capsule(capsule) |
| 723 | assert imported_chunked.type == chunked.type |
| 724 | assert imported_chunked == chunked |
| 725 | |
| 726 | |
| 727 | def test_roundtrip_chunked_array_capsule_requested_schema(): |
nothing calls this directly
no test coverage detected