code: def test_fail_tolerences(self, text, expected_floats):
      extract_floats = tf_doctest_lib._FloatExtractor()
      output_checker = tf_doctest_lib.TfDoctestOutputChecker()
  
      (_, extracted_floats) = extract_floats(text)
  
      # These floats should not match according to allclose
      try:
          self.assertFalse(
              output_checker._allclose(
                  expected_floats, extracted_floats
              )
          )
      except AssertionError as e:
          msg = (
              "\n\nThese matched! They should not have.\n"
              "\n\n  Expected:  {}\n  found:     {}".format(
                  expected_floats, extracted_floats
              )
          )
          e.args = (e.args[0] + msg,)
          raise e
  
file_path: tensorflow/tensorflow/tools/docs/tf_doctest_test.py
imports: import doctest
  from absl.testing import absltest
  from absl.testing import parameterized
  from tensorflow.tools.docs import tf_doctest_lib
label_desc: Use image node_id 2 for calling the TfDoctestOutputCheckerTest obj's underlying member method code with example usage: obj.test_fail_tolerences(text, expected_floats) without return types