code: def test_structured_data_input_less_col_name_error():
      with pytest.raises(ValueError) as info:
          analyser = input_analysers.StructuredDataAnalyser(
              column_names=list(range(8))
          )
          dataset = tf.data.Dataset.from_tensor_slices(
              np.random.rand(20, 10)
          ).batch(32)
          for x in dataset:
              analyser.update(x)
  
          analyser.finalize()
  
      assert "Expect column_names to have length" in str(info.value)
  
file_path: autokeras/autokeras/analysers/input_analysers_test.py
imports: import copy
  import numpy
  import pandas
  import pytest
  import tensorflow
  from autokeras import test_utils
  from autokeras.analysers import input_analysers
label_desc: Use image node_id 1 for calling a global function with example usage: test_structured_data_input_less_col_name_error() without return types