code: def _test_against_scipy_results(
      self,
      integrate_function,
      args,
      test_case,
      scipy_exact,
      max_rel_error,
  ):
      func = test_case.func
      lower = tf.constant(test_case.lower, dtype=tf.float64)
      upper = tf.constant(test_case.upper, dtype=tf.float64)
      approx = integrate_function(func, lower, upper, **args)
      approx = self.evaluate(approx)
      assert (
          np.abs(approx - scipy_exact)
          <= np.abs(scipy_exact) * max_rel_error
      )
  
imports: import collections
  import math
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
  from tf_quant_finance.math.integration import adaptive_update
label_desc: Use image node_id 3 for calling the IntegrationTest obj's underlying member method code with example usage: obj._test_against_scipy_results(integrate_function, args, test_case, scipy_exact, max_rel_error) without return types