code: def pytest_collection_modifyitems(config, items):
      should_run_quality = config.getoption("--run_quality")
      should_run_stress = config.getoption("--run_stress")
  
      # Run unit is implied if no --run_XXX is set
      should_run_unit = config.getoption("--run_unit") or not (
          should_run_quality or should_run_stress
      )
  
      # Mark the tests as "skip" if needed
      if not should_run_unit:
          skip_unit = pytest.mark.skip(
              reason="Unit tests run with --run_unit flag."
          )
          for item in items:
              if "unit" in item.keywords:
                  item.add_marker(skip_unit)
  
      if not should_run_quality:
          skip_quality = pytest.mark.skip(
              reason="Quality tests run with --run_quality flag."
          )
          for item in items:
              if "quality" in item.keywords:
                  item.add_marker(skip_quality)
  
      if not should_run_stress:
          skip_stress = pytest.mark.skip(
              reason="Stress tests run with --run_stress flag."
          )
          for item in items:
              if "stress" in item.keywords:
                  item.add_marker(skip_stress)
  
imports: from cuml.testing.utils import create_synthetic_dataset
  from sklearn.feature_extraction.text import CountVectorizer
  from sklearn import datasets
  from sklearn.datasets import make_regression
  from sklearn.datasets import make_classification
  from sklearn.datasets import fetch_california_housing
  from sklearn.datasets import fetch_20newsgroups
  from sklearn.utils import Bunch
  from datetime import timedelta
  from math import ceil
  import hypothesis
  from cuml.internals.safe_imports import gpu_only_import
  import pytest
  import os
  import subprocess
  import pandas
  from cuml.internals.safe_imports import cpu_only_import
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_collection_modifyitems(config, items) without return types