()
| 614 | |
| 615 | |
| 616 | def test_schema_repr_with_dictionaries(): |
| 617 | fields = [ |
| 618 | pa.field('one', pa.dictionary(pa.int16(), pa.string())), |
| 619 | pa.field('two', pa.int32()) |
| 620 | ] |
| 621 | sch = pa.schema(fields) |
| 622 | |
| 623 | expected = ( |
| 624 | """\ |
| 625 | one: dictionary<values=string, indices=int16, ordered=0> |
| 626 | two: int32""") |
| 627 | |
| 628 | assert repr(sch) == expected |
| 629 | |
| 630 | |
| 631 | def test_type_schema_pickling(pickle_module): |
nothing calls this directly
no test coverage detected