code: def pytest_collection_finish(session):
      # Make sure we're not accidentally accessing it during test
      global TEST_PARAMS_CONFIG
      del TEST_PARAMS_CONFIG
      if session.config.option.my_test_dump is not None:
          for item in session.items:
              item_path = os.path.relpath(item.path)
              print(f"{item_path}::{item.name}")
  
          for backend in mod_backend:
              proc = mod_backend[backend]
              proc.terminate()
          pytest.exit("Done!")
  
imports: import os
  import pytest
  from typing import Dict
  import sys
  import multiprocessing
  from packaging import version
  from .helpers.globals import mod_backend, mod_frontend
  import ivy_tests.test_ivy.helpers.test_parameter_flags
  from ivy import set_exception_trace_mode
  from ivy_tests.test_ivy.helpers import globals
  from ivy_tests.test_ivy.helpers.available_frameworks import available_frameworks
  from ivy_tests.test_ivy.helpers.multiprocessing import backend_proc, frontend_proc
  from ivy_tests.test_ivy.helpers.pipeline_helper import BackendHandler, BackendHandlerMode
label_desc: Use image node_id 8 for calling a global function with example usage: pytest_collection_finish(session) without return types