class_docstr: An abstract base class for unit tests. 
class_docstr_tok: ["An","abstract","base","class","for","unit","tests","."]
docstr: Reports a message. 
docstr_tok: ["Reports","a","message","."]
code: def report(cls, msg, msg_type="test_header", out=sys.stdout):
      " Reports a message. " ""
      prefix = ""  # default prefix and suffix
      suffix = "\n"
      if msg_type == "header":
          suffix = "\n" + "=" * len(msg) + "\n"
      elif msg_type == "test_header":
          prefix = " * "
      elif msg_type == "test_result":
          prefix = "     - "
      out.write(prefix + msg + suffix)
      out.flush()
  
file_path: dragonfly/dragonfly/utils/base_test_class.py
imports: from __future__ import print_function
  import numpy
  import random
  import sys
  from time import time
  import unittest
label_desc: Use image node_id 2 for calling the BaseTestClass obj's underlying member method code with example usage: obj.report(cls, msg, msg_type, out) without return types