code: def print_test_condition(
      tests: TestList,
      tests_type: TestStatusType,
      interested_folders: List[str],
      coverage_only: List[str],
      summary_file: IO[str],
      summary_type: str,
  ) -> None:
      print_test_by_type(
          tests, tests_type["success"], "fully success", summary_file
      )
      print_test_by_type(
          tests,
          tests_type["partial"],
          "partially success",
          summary_file,
      )
      print_test_by_type(
          tests, tests_type["fail"], "failed", summary_file
      )
      print(
          "\n\nCoverage Collected Over Interested Folders:\n",
          interested_folders,
          file=summary_file,
      )
      print(
          "\n\nCoverage Compilation Flags Only Apply To: \n",
          coverage_only,
          file=summary_file,
      )
      print(
          "\n\n---------------------------------- "
          + summary_type
          + " ----------------------------------",
          file=summary_file,
      )
  
file_path: pytorch/tools/code_coverage/package/tool/print_report.py
imports: import os
  import subprocess
  from typing import Dict, IO, List, Set, Tuple
  from ..oss.utils import get_pytorch_folder
  from ..util.setting import SUMMARY_FOLDER_DIR, TestList, TestStatusType
label_desc: Use image node_id 6 for calling a global function with example usage: print_test_condition(tests, tests_type, interested_folders, coverage_only, summary_file, summary_type) without return types