()
| 713 | |
| 714 | |
| 715 | def test_metadata_equals(): |
| 716 | table = pa.table({"a": [1, 2, 3]}) |
| 717 | with pa.BufferOutputStream() as out: |
| 718 | pq.write_table(table, out) |
| 719 | buf = out.getvalue() |
| 720 | |
| 721 | original_metadata = pq.read_metadata(pa.BufferReader(buf)) |
| 722 | match = "Argument 'other' has incorrect type" |
| 723 | with pytest.raises(TypeError, match=match): |
| 724 | original_metadata.equals(None) |
| 725 | |
| 726 | |
| 727 | @pytest.mark.parametrize("t1,t2,expected_error", ( |
nothing calls this directly
no test coverage detected