code: def assert_dshape_equal(a, b, path=None, check_tz=True, **kwargs):
      if type(a) != type(b):
          return _base_case(a, b)
      if check_tz:
          _check_slots(a, b, 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 5 for calling a global function with example usage: assert_dshape_equal(a, b, path, check_tz) and returns: _base_case