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

Function test_sequence_numpy_boolean

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

Source from the content-addressed store, hash-verified

240@pytest.mark.numpy
241@parametrize_with_sequence_types
242def test_sequence_numpy_boolean(seq):
243 expected = [np.bool(True), None, np.bool(False), None]
244 arr = pa.array(seq(expected))
245 assert arr.type == pa.bool_()
246 assert arr.to_pylist() == [True, None, False, None]
247
248
249@pytest.mark.numpy

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected