code: def testCorrectFormatWithActiveColocations(self):
      t_obj_1 = traceable_stack.TraceableObject(
          None, filename="test_1.py", lineno=27
      )
      t_obj_2 = traceable_stack.TraceableObject(
          None, filename="test_2.py", lineno=38
      )
      colocation_dict = {
          "test_node_1": t_obj_1,
          "test_node_2": t_obj_2,
      }
      summary = (
          error_interpolation._compute_colocation_summary_from_dict(
              "node_name", colocation_dict, prefix="  "
          )
      )
      self.assertIn("node_name", summary)
      self.assertIn("colocate_with(test_node_1)", summary)
      self.assertIn("<test_1.py:27>", summary)
      self.assertIn("colocate_with(test_node_2)", summary)
      self.assertIn("<test_2.py:38>", summary)
  
imports: import collections
  import os
  import re
  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 error_interpolation
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.framework import traceable_stack
  from tensorflow.python.ops import control_flow_assert
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import script_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the ComputeColocationSummaryFromOpTest obj's underlying member method code with example usage: obj.testCorrectFormatWithActiveColocations() without return types