MCPcopy Create free account
hub / github.com/apache/arrow-rs / test_binary_array

Function test_binary_array

arrow-pyarrow-integration-testing/tests/test_sql.py:331–341  ·  view source on GitHub ↗

Python -> Rust -> Python

()

Source from the content-addressed store, hash-verified

329
330
331def test_binary_array():
332 """
333 Python -> Rust -> Python
334 """
335 a = pa.array(["a", None, "bb", "ccc"], pa.binary())
336 b = rust.round_trip_array(a)
337 b.validate(full=True)
338 assert a.to_pylist() == b.to_pylist()
339 assert a.type == b.type
340 del a
341 del b
342
343def test_fixed_len_binary_array():
344 """

Callers

nothing calls this directly

Calls 2

arrayMethod · 0.80
validateMethod · 0.45

Tested by

no test coverage detected