code: def pytest_sessionfinish(session, exitstatus):
      """
      Called after whole test run finished, right before
      returning the exit status to the system.
      """
      try:
          del os.environ["NO_EXTERNAL_ONLY_APIS"]
          del os.environ["_CUDF_TEST_ROOT"]
      except KeyError:
          pass
  
imports: import itertools
  import os
  import pathlib
  import cupy
  import numpy
  import pytest
  import rmm
  import cudf
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 9 for calling a global function with example usage: pytest_sessionfinish(session, exitstatus) without return types