AlenkaF commented on code in PR #51404:
URL: https://github.com/apache/arrow/pull/51404#discussion_r4090732718


##########
python/pyarrow/tests/test_dlpack.py:
##########
@@ -335,24 +341,24 @@ def test_dlpack_not_supported():
     arr = pa.array([1, None, 3])
     with pytest.raises(TypeError, match="Can only use DLPack "
                        "on arrays with no nulls."):
-        np.from_dlpack(arr)
+        np.from_dlpack(DLPackForwarder(arr, max_version=(1, 0)))

Review Comment:
   Reverted the rest dlpack changes: 
https://github.com/apache/arrow/pull/51404/changes/a148c139ca6d8d498c06ecd9f6d0aa0d78da48a2
   and created a new issue:  https://github.com/apache/arrow/issues/51481



-- 
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