code: def test_load_image_data_raise_subset_error():
      with pytest.raises(ValueError) as info:
          io_utils.image_dataset_from_directory(
              IMG_DATA_DIR,
              image_size=(180, 180),
              validation_split=0.2,
              subset="abcd",
              seed=test_utils.SEED,
          )
      assert "`subset` must be either" in str(info.value)
  
file_path: autokeras/autokeras/utils/io_utils_test.py
imports: import os
  import shutil
  import pytest
  import tensorflow
  from tensorflow import keras
  from autokeras import test_utils
  from autokeras.utils import io_utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_load_image_data_raise_subset_error() without return types