(seq)
| 453 | |
| 454 | @parametrize_with_sequence_types |
| 455 | def test_sequence_custom_integers(seq): |
| 456 | expected = [0, 42, 2**33 + 1, -2**63] |
| 457 | data = list(map(MyInt, expected)) |
| 458 | arr = pa.array(seq(data), type=pa.int64()) |
| 459 | assert arr.to_pylist() == expected |
| 460 | |
| 461 | |
| 462 | @parametrize_with_collections_types |