code: def test_unused_arg_fail():
      @pipeline_def(
          enable_conditionals=True,
          batch_size=5,
          num_threads=4,
          device_id=0,
          seed=43,
      )
      def pipeline():
          encoded_image, _ = fn.readers.file(
              name="Reader", file_root=images_dir
          )
          image = fn.decoders.image(encoded_image, device="mixed")
          image_net_policy = auto_augment.get_image_net_policy()
          return auto_augment.apply_auto_augment(
              image_net_policy, image, misspelled_kwarg=100
          )
  
      msg = "The kwarg `misspelled_kwarg` is not used by any of the augmentations."
      with assert_raises(Exception, glob=msg):
          pipeline()
  
imports: import itertools
  import os
  import unittest
  import random
  import numpy
  from scipy.stats import chisquare
  from nose2.tools import params
  from nvidia.dali import fn, types
  from nvidia.dali import pipeline_def
  from nvidia.dali.auto_aug import auto_augment, augmentations
  from nvidia.dali.auto_aug.core import augmentation, Policy
  from test_utils import get_dali_extra_path, check_batch
  from nose_utils import assert_raises, assert_warns
label_desc: Use image node_id 8 for calling a global function with example usage: test_unused_arg_fail() and returns: auto_augment