code: def test_convert_array_checks_type(spark):
      ndarray = np.array([1, 2])
      with pytest.raises(AttributeError):
          lit(ndarray)
  
file_path: glow/python/glow/tests/test_conversions.py
imports: from glow.conversions import OneDimensionalDoubleNumpyArrayConverter, TwoDimensionalDoubleNumpyArrayConverter
  from importlib import reload
  import numpy
  from py4j.protocol import Py4JJavaError
  from pyspark.ml.linalg import DenseMatrix
  from pyspark.sql.functions import lit
  from pyspark.sql.types import StringType
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_convert_array_checks_type(spark) without return types