def test_list_of_int(self):
    data = [[1, 2, 3], [], None, [1, 2]]
    arr = pyarrow.from_pylist(data)
    assert (len(arr) == 4)
    assert (arr.null_count == 1)
    assert (arr.type == pyarrow.list_(pyarrow.int64()))
    assert (arr.to_pylist() == data)
def test_list_of_int(self):
    data = [[1, 2, 3], [], None, [1, 2]]
    arr = pyarrow.from_pylist(data)
    assert (len(arr) == 4)
    assert (arr.null_count == 1)
    assert (arr.type == pyarrow.list_(pyarrow.int64()))
    assert (arr.to_pylist() == data)