code: def test_array():
      actual = hl.eval(
          (
              hl.array(hl.array([1, 2, 3, 3])),
              hl.array(hl.set([1, 2, 3])),
              hl.array(hl.dict({1: 5, 7: 4})),
              hl.array(hl.nd.array([1, 2, 3, 3])),
          )
      )
  
      expected = (
          [1, 2, 3, 3],
          [1, 2, 3],
          [(1, 5), (7, 4)],
          [1, 2, 3, 3],
      )
  
      assert actual == expected
  
      with pytest.raises(
          ValueError,
          match="array: only one dimensional ndarrays are supported: ndarray<float64, 2>",
      ):
          hl.eval(hl.array(hl.nd.array([[1.0], [2.0]])))
  
file_path: hail/hail/python/test/hail/expr/test_functions.py
imports: import hail
  import scipy.stats
  import pytest
  from ..helpers import resource
label_desc: Use image node_id 6 for calling a global function with example usage: test_array() without return types