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

Function test_indented_string_format

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

Source from the content-addressed store, hash-verified

135
136
137def test_indented_string_format():
138 arr = pa.array(['', None, 'foo'])
139 result = arr.to_string(indent=1)
140 expected = '[\n "",\n null,\n "foo"\n]'
141
142 assert result == expected
143
144
145def test_top_level_indented_string_format():

Callers

nothing calls this directly

Calls 2

arrayMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected