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

Function test_array_string_from_non_string

python/pyarrow/tests/test_array.py:3066–3069  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3064
3065@pytest.mark.numpy
3066def test_array_string_from_non_string():
3067 # ARROW-5682 - when converting to string raise on non string-like dtype
3068 with pytest.raises(TypeError):
3069 pa.array(np.array([1, 2, 3]), type=pa.string())
3070
3071
3072@pytest.mark.numpy

Callers

nothing calls this directly

Calls 2

arrayMethod · 0.45
stringMethod · 0.45

Tested by

no test coverage detected