code: def test_convert_checks_dimension(spark):
      # No support for 3-dimensional arrays
      ndarray = np.array([[[1.0]]])
      with pytest.raises(Py4JJavaError):
          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 3 for calling a global function with example usage: test_convert_checks_dimension(spark) without return types