code: def pytest_collection_modifyitems(config, items):
      skip_slow = False
      skip_pdf = False
      skip_fft = False
      if config.getoption("--skip-slow"):
          skip_slow = mark.skip("skipped; --skip-slow option was used")
      if config.getoption("--skip-pdf"):
          skip_pdf = mark.skip("skipped; --skip-pdf option was used")
      if config.getoption("--skip-fft"):
          skip_fft = mark.skip("skipped; --skip-fft option was used")
      if config.getoption("--no-pdf"):
          skip_pdf = mark.skip("skipped; --skip-pdf option was used")
      for item in items:
          if skip_slow and "slow" in item.keywords:
              item.add_marker(skip_slow)
          if skip_pdf and "pdf" in item.keywords:
              item.add_marker(skip_pdf)
          if skip_fft and "fft" in item.keywords:
              item.add_marker(skip_fft)
  
file_path: wand/tests/conftest.py
imports: import os
  from pathlib import Path
  from pytest import fixture, mark
  from wand.version import MAGICK_VERSION, VERSION
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_collection_modifyitems(config, items) without return types