llama90 commented on code in PR #41413:
URL: https://github.com/apache/arrow/pull/41413#discussion_r1605079635


##########
python/pyarrow/tests/test_extension_type.py:
##########
@@ -276,8 +276,7 @@ def test_ext_type_byte_width():
 
     # Test for non fixed-size binary types
     ty = LabelType()
-    with pytest.raises(ValueError, match="Non-fixed width type"):
-        _ = ty.byte_width
+    assert ty.byte_width == -1

Review Comment:
   You mean that the extension type should make erorr? In this case, the 
extension type return -1.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to