code: def pytest_collection_modifyitems(
      session: Session,
      config: Config,
      items: List[Item],
  ) -> None:
      """Modifys the colelction of tests that are captured"""
      if config.getoption("--fast"):
          skip = pytest.mark.skip(
              reason="Test marked `slow` and `--fast` arg used"
          )
  
          slow_items = [
              item for item in items if "slow" in item.keywords
          ]
          for item in slow_items:
              item.add_marker(skip)
  
file_path: SMAC3/tests/conftest.py
imports: from typing import Any, Iterator, List, Optional
  import re
  import signal
  from pathlib import Path
  import psutil
  import pytest
  from pytest import ExitCode, Item, Session
label_desc: Use image node_id 8 for calling a global function with example usage: pytest_collection_modifyitems(session, config, items) without return types