code: def test_collate_hmap(self):
      collated = self.nested_hmap.collate()
      self.assertEqual(collated.kdims, self.nesting_hmap.kdims)
      self.assertEqual(collated.keys(), self.nesting_hmap.keys())
      self.assertEqual(collated.type, self.nesting_hmap.type)
      self.assertEqual(repr(collated), repr(self.nesting_hmap))
  
file_path: holoviews/holoviews/tests/core/test_collation.py
imports: import itertools
  import numpy
  from holoviews.core import Collator, GridSpace, HoloMap, NdOverlay, Overlay
  from holoviews.element import Curve
  from holoviews.element.comparison import ComparisonTestCase
label_desc: Use image node_id 2 for calling the TestCollation obj's underlying member method code with example usage: obj.test_collate_hmap() without return types