()
| 1451 | |
| 1452 | |
| 1453 | def test_table_equals(): |
| 1454 | table = pa.Table.from_arrays([], names=[]) |
| 1455 | assert table.equals(table) |
| 1456 | |
| 1457 | # ARROW-4822 |
| 1458 | assert not table.equals(None) |
| 1459 | |
| 1460 | other = pa.Table.from_arrays([], names=[], metadata={'key': 'value'}) |
| 1461 | assert not table.equals(other, check_metadata=True) |
| 1462 | assert table.equals(other) |
| 1463 | |
| 1464 | |
| 1465 | def test_table_from_batches_and_schema(): |