code: def pytest_runtest_setup(item: Item) -> None:
      skipped = evaluate_skip_marks(item)
      if skipped:
          raise skip.Exception(skipped.reason, _use_item_location=True)
  
      item.stash[xfailed_key] = xfailed = evaluate_xfail_marks(item)
      if (
          xfailed
          and not item.config.option.runxfail
          and not xfailed.run
      ):
          xfail("[NOTRUN] " + xfailed.reason)
  
imports: import dataclasses
  import os
  import platform
  import sys
  import traceback
  from collections.abc import Mapping
  from typing import Generator
  from typing import Optional
  from typing import Tuple
  from typing import Type
  from _pytest.config import Config
  from _pytest.config import hookimpl
  from _pytest.config.argparsing import Parser
  from _pytest.mark.structures import Mark
  from _pytest.nodes import Item
  from _pytest.outcomes import fail
  from _pytest.outcomes import skip
  from _pytest.outcomes import xfail
  from _pytest.reports import BaseReport
  from _pytest.runner import CallInfo
  from _pytest.stash import StashKey
label_desc: Use image node_id 6 for calling a global function with example usage: pytest_runtest_setup(item) without return types