code: def print(
      self,
      xs,
      preds,
      confs,
      expect_results,
      labels=None,
      meta=None,
      format_example_fn=None,
      nsamples=3,
  ):
      result = self._extract_examples_per_testcase(
          xs,
          preds,
          confs,
          expect_results,
          labels,
          meta,
          nsamples,
          only_include_fail=True,
      )
      if not result:
          return
      idxs, iters, _ = result
      for x, pred, conf, label, meta in iters:
          print(format_example_fn(x, pred, conf, label, meta))
      if type(preds) in [np.array, np.ndarray, list] and len(preds) > 1:
          print()
      print("----")
  
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 5 for calling the AbstractTest obj's underlying member method code with example usage: obj.print(xs, preds, confs, expect_results, labels, meta, format_example_fn, nsamples) without return types