code: def print_stats(self):
      stats = self.get_stats()
      print("Test cases:      %d" % stats.testcases)
      if "testcases_run" in stats:
          print("Test cases run:  %d" % stats.testcases_run)
      if "after_filtering" in stats:
          print(
              "After filtering: %d (%.1f%%)"
              % (stats.after_filtering, stats.after_filtering_rate)
          )
      if "fails" in stats:
          print(
              "Fails (rate):    %d (%.1f%%)"
              % (stats.fails, stats.fail_rate)
          )
  
imports: from abc import ABC, abstractmethod
  import dill
  from munch import Munch
  import numpy
  import inspect
  from .expect import iter_with_optional, Expect
  from .viewer.test_summarizer import TestSummarizer
label_desc: Use image node_id 22 for calling the AbstractTest obj's underlying member method code with example usage: obj.print_stats() without return types