MCPcopy Create free account
hub / github.com/apache/arrow / test_table_from_struct_array_invalid

Function test_table_from_struct_array_invalid

python/pyarrow/tests/test_table.py:911–913  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

909
910
911def test_table_from_struct_array_invalid():
912 with pytest.raises(TypeError, match="Argument 'struct_array' has incorrect type"):
913 pa.Table.from_struct_array(pa.array(range(5)))
914
915
916def test_table_from_struct_array_empty_chunked_array_invalid():

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected