code: def testCorrectFormatWhenNoColocationsWereActive(self):
      device_assignment_list = []
      summary = error_interpolation._compute_device_summary_from_list(
          "nodename", device_assignment_list, prefix="  "
      )
      self.assertIn("nodename", summary)
      self.assertIn("No device assignments", 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 2 for calling the ComputeDeviceSummaryFromOpTest obj's underlying member method code with example usage: obj.testCorrectFormatWhenNoColocationsWereActive() without return types