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

Function test_integer_from_string_error

python/pyarrow/tests/test_convert_builtin.py:520–523  ·  view source on GitHub ↗
(seq, typ)

Source from the content-addressed store, hash-verified

518@parametrize_with_collections_types
519@pytest.mark.parametrize("typ", pa_int_types)
520def test_integer_from_string_error(seq, typ):
521 # ARROW-9451: pa.array(['1'], type=pa.uint32()) should not succeed
522 with pytest.raises(pa.ArrowInvalid):
523 pa.array(seq(['1']), type=typ)
524
525
526def test_convert_with_mask():

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected