code: def pytest_sessionfinish(session, exitstatus):
      # Don't exit with an error if we select a subset of tests that doesn't
      # include anything
      if session.config.option.markexpr != "":
          if exitstatus == pytest.ExitCode.NO_TESTS_COLLECTED:
              session.exitstatus = pytest.ExitCode.OK
  
file_path: tvm/python/tvm/testing/plugin.py
imports: import pytest
  import _pytest
  import tvm
  from tvm.testing import utils
label_desc: Use image node_id 6 for calling a global function with example usage: pytest_sessionfinish(session, exitstatus) without return types