code: def test_lack_of_positional_args_fail():
      def no_args():
          pass
  
      def one_arg(arg):
          pass
  
      def one_kwarg_only(arg, *, kwarg_only):
          pass
  
      def kwarg_only(*, kwarg1, kwarg2):
          pass
  
      for i, fun in enumerate(
          (no_args, kwarg_only, one_arg, one_kwarg_only)
      ):
          msg = f"accepts {i // 2} positional argument(s), but the functions decorated"
          with assert_raises(Exception, glob=msg):
              augmentation(fun)
  
imports: import numpy
  import nvidia.dali.tensors
  from nvidia.dali import pipeline_def, fn, types
  from nvidia.dali.auto_aug.core import augmentation, signed_bin
  from nvidia.dali.auto_aug.core._args import forbid_unused_kwargs
  from nose2.tools import params
  from test_utils import check_batch
  from nose_utils import assert_warns, assert_raises
label_desc: Use image node_id 13 for calling a global function with example usage: test_lack_of_positional_args_fail() without return types