code: def dummy_data():
      # Create temporary directory for data
      temp_dir = tempfile.TemporaryDirectory()
      data_dir = temp_dir.name
  
      # Create dummy AVMNIST data
      create_dummy_data(data_dir)
  
      yield data_dir
  
      # Clean up temporary directory
      temp_dir.cleanup()
  
file_path: pykale/tests/loaddata/test_avmnist_datasets.py
imports: import os
  import tempfile
  import numpy
  import pytest
  from kale.loaddata.avmnist_datasets import AVMNISTDataset
label_desc: Use image node_id 1 for calling a global function with example usage: dummy_data() without return types