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

Function test_sequence_unicode

python/pyarrow/tests/test_convert_builtin.py:801–807  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

799
800
801def test_sequence_unicode():
802 data = ['foo', 'bar', None, 'mañana']
803 arr = pa.array(data)
804 assert len(arr) == 4
805 assert arr.null_count == 1
806 assert arr.type == pa.string()
807 assert arr.to_pylist() == data
808
809
810@pytest.mark.parametrize("ty", [pa.string(), pa.large_string(), pa.string_view()])

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
arrayMethod · 0.45
stringMethod · 0.45

Tested by

no test coverage detected