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:3155–3157 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3153
3154
3155
def
test_invalid_tensor_construction():
3156
with
pytest.raises(TypeError):
3157
pa.Tensor()
3158
3159
3160
@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