code: def test_list_from_numpy():
      s = pa.scalar(np.array([1, 2, 3], dtype=np.int64()))
      assert s.type == pa.list_(pa.int64())
      assert s.as_py() == [1, 2, 3]
  
imports: import datetime
  import decimal
  import pytest
  import sys
  import weakref
  import numpy
  import pyarrow
  import pyarrow.compute
  from pyarrow.tests import util
label_desc: Use image node_id 33 for calling a global function with example usage: test_list_from_numpy() without return types