code: def test_unsupported_types_error():
      adapter = output_adapters.ClassificationAdapter(name="a")
  
      with pytest.raises(TypeError) as info:
          adapter.adapt(1, batch_size=32)
  
      assert "Expect the target data of a to be tf" in str(info.value)
  
file_path: autokeras/autokeras/adapters/output_adapters_test.py
imports: import numpy
  import pandas
  import pytest
  import tensorflow
  from autokeras import test_utils
  from autokeras.adapters import output_adapters
label_desc: Use image node_id 3 for calling a global function with example usage: test_unsupported_types_error() without return types