class_docstr: ComparisonTestCase with support for capturing param logging output.
  
  Subclasses must call super setUp to make the
  tests independent. Testing can then be done via the
  self.log_handler.tail and self.log_handler.assertEndsWith methods.
class_docstr_tok: ["ComparisonTestCase","with","support","for","capturing","param","logging","output",".","Subclasses","must","call","super","setUp","to","make","the","tests","independent",".","Testing","can","then","be","done","via","the","self.log_handler.tail","and","self.log_handler.assertEndsWith","methods","."]
code: def tearDown(self):
      super().tearDown()
      log = param.parameterized.get_logger()
      log.handlers = self.handlers
      messages = self.log_handler.messages
      self.log_handler.reset()
      for level, msgs in messages.items():
          for msg in msgs:
              log.log(LEVELS[level], msg)
  
file_path: holoviews/holoviews/tests/utils.py
imports: import logging
  import os
  import sys
  import param
  from holoviews.element.comparison import ComparisonTestCase
label_desc: Use image node_id 2 for calling the LoggingComparisonTestCase obj's underlying member method code with example usage: obj.tearDown() without return types