Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_from_dlpack_no_dlpack_method
Function
test_from_dlpack_no_dlpack_method
python/pyarrow/tests/test_dlpack.py:493–495 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
491
492
493
def
test_from_dlpack_no_dlpack_method():
494
with
pytest.raises(AttributeError):
495
pa.Tensor.from_dlpack(object())
496
497
498
@requires_numpy_version(
"2.1.0"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected