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

Function test_string_format

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

Source from the content-addressed store, hash-verified

109
110
111def test_string_format():
112 arr = pa.array(['', None, 'foo'])
113 result = arr.to_string()
114 expected = """\
115[
116 "",
117 null,
118 "foo"
119]"""
120 assert result == expected
121
122
123def test_long_array_format():

Callers

nothing calls this directly

Calls 2

arrayMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected