code: def testGraphModeUsesCorrectPathLengthAndStackHeightLimits(self):
      check_numerics_callback.enable_check_numerics(
          stack_height_limit=123, path_length_limit=1200
      )
  
      @def_function.function
      def add_fn(x, y):
          return x + y
  
      fake_get_check_numerics_error_message = test.mock.MagicMock(
          return_value="dummy_message"
      )
      with test.mock.patch.object(
          check_numerics_callback,
          "get_check_numerics_error_message",
          fake_get_check_numerics_error_message,
      ):
          x = constant_op.constant(2.0)
          y = constant_op.constant(3.0)
          self.assertAllClose(self.evaluate(add_fn(x, y)), 5.0)
          (
              _,
              call_kwargs,
          ) = fake_get_check_numerics_error_message.call_args
          self.assertEqual(call_kwargs["stack_height_limit"], 123)
          self.assertEqual(call_kwargs["path_length_limit"], 1200)
  
imports: import re
  import numpy
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.debug.lib import check_numerics_callback
  from tensorflow.python.eager import backprop
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_grad
  from tensorflow.python.ops import custom_gradient
  from tensorflow.python.ops import gen_nn_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import math_grad
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import googletest
  from tensorflow.python.platform import test
label_desc: Use image node_id 5 for calling the CheckNumericsCallbackTest obj's underlying member method code with example usage: obj.testGraphModeUsesCorrectPathLengthAndStackHeightLimits() and returns: unknown