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

Function test_sequence_custom_integers

python/pyarrow/tests/test_convert_builtin.py:432–436  ·  view source on GitHub ↗
(seq)

Source from the content-addressed store, hash-verified

430
431@parametrize_with_sequence_types
432def test_sequence_custom_integers(seq):
433 expected = [0, 42, 2**33 + 1, -2**63]
434 data = list(map(MyInt, expected))
435 arr = pa.array(seq(data), type=pa.int64())
436 assert arr.to_pylist() == expected
437
438
439@parametrize_with_collections_types

Callers

nothing calls this directly

Calls 3

listFunction · 0.85
mapFunction · 0.85
arrayMethod · 0.45

Tested by

no test coverage detected