(seq)
| 257 | |
| 258 | @parametrize_with_collections_types |
| 259 | def test_empty_list(seq): |
| 260 | arr = pa.array(seq([])) |
| 261 | assert len(arr) == 0 |
| 262 | assert arr.null_count == 0 |
| 263 | assert arr.type == pa.null() |
| 264 | assert arr.to_pylist() == [] |
| 265 | |
| 266 | |
| 267 | @parametrize_with_sequence_types |