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

Function test_cast_table_raises

python/pyarrow/tests/test_compute.py:4308–4312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4306
4307
4308def test_cast_table_raises():
4309 table = pa.table({'a': [1, 2]})
4310
4311 with pytest.raises(pa.lib.ArrowTypeError):
4312 pc.cast(table, pa.int64())
4313
4314
4315@pytest.mark.parametrize("start,stop,expected", (

Callers

nothing calls this directly

Calls 1

castMethod · 0.45

Tested by

no test coverage detected