()
| 1613 | |
| 1614 | |
| 1615 | def test_table_from_arrays_invalid_names(): |
| 1616 | data = [ |
| 1617 | pa.array(range(5)), |
| 1618 | pa.array([-10, -5, 0, 5, 10]) |
| 1619 | ] |
| 1620 | with pytest.raises(ValueError): |
| 1621 | pa.Table.from_arrays(data, names=['a', 'b', 'c']) |
| 1622 | |
| 1623 | with pytest.raises(ValueError): |
| 1624 | pa.Table.from_arrays(data, names=['a']) |
| 1625 | |
| 1626 | |
| 1627 | def test_table_from_lists(): |