code: def pytest_terminal_summary(terminalreporter):
      from transformers.testing_utils import (
          pytest_terminal_summary_main,
      )
  
      make_reports = terminalreporter.config.getoption("--make-reports")
      if make_reports:
          pytest_terminal_summary_main(
              terminalreporter, id=make_reports
          )
  
imports: import sys
  import warnings
  from os.path import abspath, dirname, join
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_terminal_summary(terminalreporter) without return types