code: def dataset_error(x, y, validation_data, message, tmp_path):
      auto_model = get_multi_io_auto_model(tmp_path)
      with pytest.raises(ValueError) as info:
          auto_model.fit(
              x, y, epochs=2, validation_data=validation_data
          )
      assert message in str(info.value)
  
imports: from unittest import mock
  import keras_tuner
  import numpy
  import pytest
  import tensorflow
  import autokeras
  from autokeras import test_utils
label_desc: Use image node_id 16 for calling a global function with example usage: dataset_error(x, y, validation_data, message, tmp_path) without return types