class_docstr: These test cases exercise the interface to the proto plan
  generation but do not call Spark.
class_docstr_tok: ["These","test","cases","exercise","the","interface","to","the","proto","plan","generation","but","do","not","call","Spark","."]
docstr: Test conversion of lists to literals
docstr_tok: ["Test","conversion","of","lists","to","literals"]
code: def test_list_to_literal(self):
      """Test conversion of lists to literals"""
      empty_list = []
      single_type = [1, 2, 3, 4]
      multi_type = ["ooo", 1, "asas", 2.3]
  
      empty_list_lit = lit(empty_list)
      single_type_lit = lit(single_type)
      multi_type_lit = lit(multi_type)
  
      p = empty_list_lit.to_plan(None)
      self.assertIsNotNone(p)
  
      p = single_type_lit.to_plan(None)
      self.assertIsNotNone(p)
  
      p = multi_type_lit.to_plan(None)
      self.assertIsNotNone(p)
  
imports: import unittest
  import uuid
  import datetime
  import decimal
  import math
  from pyspark.testing.connectutils import PlanOnlyTestFixture, should_test_connect, connect_requirement_message
  from pyspark.errors import PySparkValueError
label_desc: Use image node_id 51 for calling the SparkConnectPlanTests obj's underlying member method code with example usage: obj.test_list_to_literal() without return types