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

Function test_broken_integers

python/pyarrow/tests/test_convert_builtin.py:463–466  ·  view source on GitHub ↗
(seq)

Source from the content-addressed store, hash-verified

461
462@parametrize_with_collections_types
463def test_broken_integers(seq):
464 data = [MyBrokenInt()]
465 with pytest.raises(pa.ArrowInvalid, match="tried to convert to int"):
466 pa.array(seq(data), type=pa.int64())
467
468
469@pytest.mark.numpy

Callers

nothing calls this directly

Calls 2

MyBrokenIntClass · 0.85
arrayMethod · 0.45

Tested by

no test coverage detected