class_docstr: Basic tests for IGC Teacher to ensure it works for every given variant.
docstr: Run display output,
code: def _run_display_output(
      self,
      opt: Dict[str, Union[str, bool]],
      ep_ex_counts: List[Tuple[int, int]],
  ):
      """
      Run display output,
      """
      output = testing_utils.display_data(opt)
      stats = [o.split("\n")[-2] for o in output]
  
      for i, ((ep, ex), out) in enumerate(zip(ep_ex_counts, stats)):
          self.assertEqual(
              out,
              f"[ loaded {ep} episodes with a total of {ex} examples ]",
              output[i],
          )
  
file_path: ParlAI/tests/tasks/test_igc.py
imports: import unittest
  import itertools
  import parlai.utils.testing
  from typing import Dict, List, Tuple, Union
label_desc: Use image node_id 1 for calling the TestIGC obj's underlying member method code with example usage: obj._run_display_output(opt, ep_ex_counts) without return types