code: def pytest_runtest_setup(item: pytest.Item):
      is_require_snowflake = item.config.getoption(
          "--require-snowflake", default=False
      )
      has_require_snowflake_marker = bool(
          list(item.iter_markers(name="require_snowflake"))
      )
  
      if is_require_snowflake and not has_require_snowflake_marker:
          pytest.skip(
              f"The test is skipped because it has require_snowflake marker. "
              f"This tests are only run when --require-snowflake flag is passed to pytest. "
              f"{item}"
          )
      if not is_require_snowflake and has_require_snowflake_marker:
          pytest.skip(
              f"The test is skipped because it does not have the right marker. "
              f"Only tests marked with pytest.mark.require_snowflake() are run. {item}"
          )
  
file_path: streamlit/lib/tests/conftest.py
imports: import os
  import sys
  from unittest.mock import mock_open, patch
  import pytest
  from tests.constants import SNOWFLAKE_CREDENTIAL_FILE
label_desc: Use image node_id 3 for calling a global function with example usage: pytest_runtest_setup(item) without return types