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

Function test_sequence_all_none

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

Source from the content-addressed store, hash-verified

353
354@parametrize_with_sequence_types
355def test_sequence_all_none(seq):
356 arr = pa.array(seq([None, None]))
357 assert len(arr) == 2
358 assert arr.null_count == 2
359 assert arr.type == pa.null()
360 assert arr.to_pylist() == [None, None]
361
362
363@pytest.mark.numpy

Callers

nothing calls this directly

Calls 2

lenFunction · 0.85
arrayMethod · 0.45

Tested by

no test coverage detected