Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_schema_constructor_errors
Function
test_schema_constructor_errors
python/pyarrow/tests/test_schema.py:33–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
32
33
def
test_schema_constructor_errors():
34
msg = (
"Do not call Schema's constructor directly, use `pyarrow.schema` "
35
"instead"
)
36
with
pytest.raises(TypeError, match=msg):
37
pa.Schema()
38
39
40
def
test_type_integers():
Callers
nothing calls this directly
Calls
1
Schema
Method · 0.45
Tested by
no test coverage detected