code: def test_magnitude_is_none():
      @augmentation
      def pass_through_sample(data, param):
          assert (
              param is None
          ), "If the `mag_range` is not specified the param should be None"
          return data
  
      data = types.Constant(42)
      assert pass_through_sample(data, magnitude_bin=42) is data
  
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 3 for calling a global function with example usage: test_magnitude_is_none() and returns: data