Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_invalid_tensor_construction
Function
test_invalid_tensor_construction
python/pyarrow/tests/test_array.py:3038–3040 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3036
3037
3038
def
test_invalid_tensor_construction():
3039
with
pytest.raises(TypeError):
3040
pa.Tensor()
3041
3042
3043
@pytest.mark.parametrize((
'offset_type'
,
'list_type_factory'
),
Callers
nothing calls this directly
Calls
1
Tensor
Method · 0.80
Tested by
no test coverage detected