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:3097–3099 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3095
3096
3097
def
test_invalid_tensor_construction():
3098
with
pytest.raises(TypeError):
3099
pa.Tensor()
3100
3101
3102
@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