code: def test_tf_tensor_numpy_output(self, string, expected_output):
      output_checker = tf_doctest_lib.TfDoctestOutputChecker()
      output = output_checker._tf_tensor_numpy_output(string)
      self.assertEqual(expected_output, output)
  
file_path: tensorflow-upstream/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 7 for calling the TfDoctestOutputCheckerTest obj's underlying member method code with example usage: obj.test_tf_tensor_numpy_output(string, expected_output) without return types