code: def incorrect_images_folder():
      image = pilimage.fromarray(np.zeros((10, 10, 3), dtype=np.uint8))
  
      images_folder = PARENT_FOLDER / get_random_string()
      images_folder.mkdir()
      (images_folder / "train").mkdir()
      (images_folder / "test").mkdir()
  
      image.save(str(images_folder / "train" / "image.png"))
      image.save(str(images_folder / "test" / "image.png"))
  
      yield images_folder
  
      rmtree(str(images_folder))
  
file_path: deepchecks/tests/vision/datasets/test_visiondata_from_dir.py
imports: import pathlib
  from shutil import rmtree
  import numpy
  import PIL.Image
  import pytest
  from hamcrest import all_of, assert_that, calling, equal_to, has_length, has_property, instance_of, raises
  from torch.utils.data import DataLoader
  from deepchecks.utils.strings import get_random_string
  from deepchecks.vision.vision_data import simple_classification_data
label_desc: Use image node_id 2 for calling a global function with example usage: incorrect_images_folder() without return types