Skip to content

Commit

Permalink
apacheGH-38575: [Python] Extend test_schema_import_c_schema_interface…
Browse files Browse the repository at this point in the history
… to check metadata
  • Loading branch information
JacobHayes committed May 4, 2024
1 parent 7cd9c6f commit abd6f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ def __init__(self, schema):
def __arrow_c_schema__(self):
return self.schema.__arrow_c_schema__()

schema = pa.schema([pa.field("field_name", pa.int32())])
schema = pa.schema([pa.field("field_name", pa.int32())], metadata={"a", "b"})
wrapped_schema = Wrapper(schema)

assert pa.schema(wrapped_schema) == schema
Expand Down

0 comments on commit abd6f61

Please sign in to comment.