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

Function test_top_level_indented_string_format

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

Source from the content-addressed store, hash-verified

143
144
145def test_top_level_indented_string_format():
146 arr = pa.array(['', None, 'foo'])
147 result = arr.to_string(top_level_indent=1)
148 expected = ' [\n "",\n null,\n "foo"\n ]'
149
150 assert result == expected
151
152
153def test_binary_format():

Callers

nothing calls this directly

Calls 2

arrayMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected