code: def pytest_sessionfinish(session, exitstatus):
      """called after whole test run finished, right before returning the exit status to the system.
  
      :param _pytest.main.Session session: the pytest session object
      :param int exitstatus: the status which pytest will return to the system
      """
  
imports: from pluggy import HookspecMarker
  from _pytest.deprecated import PYTEST_LOGWARNING
label_desc: Use image node_id 40 for calling a global function with example usage: pytest_sessionfinish(session, exitstatus) without return types