code: def pytest_runtest_setup(item):
      if "slow" in item.keywords and item.config.getoption(
          "--skip-slow"
      ):
          pytest.skip("skipping due to --skip-slow")
  
      if "slow" not in item.keywords and item.config.getoption(
          "--only-slow"
      ):
          pytest.skip("skipping due to --only-slow")
  
      if "example" in item.keywords and item.config.getoption(
          "--skip-examples"
      ):
          pytest.skip("skipping due to --skip-examples")
  
      if "matplotlib" in item.keywords and item.config.getoption(
          "--skip-matplotlib"
      ):
          pytest.skip("skipping due to --skip-matplotlib")
  
      if "matplotlib" in item.keywords and not HAVE_MATPLOTLIB:
          pytest.skip("skipping since matplotlib is not intalled")
  
      if "smoke" in item.keywords and item.config.getoption(
          "--skip-smoke"
      ):
          pytest.skip("skipping due to --skip-smoke")
  
      if "smoke" not in item.keywords and item.config.getoption(
          "--only-smoke"
      ):
          pytest.skip("skipping due to --only-smoke")
  
file_path: statsmodels/statsmodels/conftest.py
imports: import logging
  import os
  import numpy
  import pandas
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_runtest_setup(item) without return types