code: def _fmt_path(path):
      """Format the path for final display.
  
      Parameters
      ----------
      path : iterable of str
          The path to the values that are not equal.
  
      Returns
      -------
      fmtd : str
          The formatted path to put into the error message.
      """
      if not path:
          return ""
      return "path: _" + "".join(path)
  
file_path: datashader/datashader/datashape/util/testing.py
imports: from abc import ABC
  from ..coretypes import DataShape, DateTime, Function, Option, Record, String, Time, TimeDelta, Tuple, Units
  from ..dispatch import dispatch
label_desc: Use image node_id 1 for calling a global function with example usage: _fmt_path(path) and returns: unknown, str