Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_constructor_raises
Function
test_constructor_raises
python/pyarrow/tests/test_array.py:71–75 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
69
70
71
def
test_constructor_raises():
72
# This could happen by wrong capitalization.
73
# ARROW-2638: prevent calling extension class constructors directly
74
with
pytest.raises(TypeError):
75
pa.Array([1, 2])
76
77
78
def
test_list_format():
Callers
nothing calls this directly
Calls
1
Array
Method · 0.45
Tested by
no test coverage detected