Skip to content

Commit

Permalink
Update python/pyarrow/tests/test_extension_type.py
Browse files Browse the repository at this point in the history
Co-authored-by: Joris Van den Bossche <[email protected]>
  • Loading branch information
llama90 and jorisvandenbossche committed May 17, 2024
1 parent ac579ea commit 9f0eab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyarrow/tests/test_extension_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ def test_ext_type_storage_type():
def test_ext_type_byte_width():
# Test for fixed-size binary types
ty = UuidType()
assert ty.storage_type.byte_width == 16
assert ty.byte_width == 16
ty = ParamExtType(5)
assert ty.storage_type.byte_width == 5
assert ty.byte_width == 5

# Test for non fixed-size binary types
ty = LabelType()
Expand Down

0 comments on commit 9f0eab8

Please sign in to comment.