code: def test_image_input_unsupported_type():
      x = "unknown"
      adapter = input_adapters.ImageAdapter()
      with pytest.raises(TypeError) as info:
          x = adapter.adapt(x, batch_size=32)
      assert "Expect the data to ImageInput to be numpy" in str(
          info.value
      )
  
file_path: autokeras/autokeras/adapters/input_adapters_test.py
imports: import numpy
  import pandas
  import pytest
  import tensorflow
  from autokeras import test_utils
  from autokeras.adapters import input_adapters
  from autokeras.utils import data_utils
label_desc: Use image node_id 4 for calling a global function with example usage: test_image_input_unsupported_type() without return types