code: def pytest_runtest_setup(item):
      # Apply test markers to skip tests selectively
      # NOTE: this only works on individual tests,
      # for fixture, use `test_config` fixture and
      # run `test_config.requires(remote_name)`.
      for marker in item.iter_markers():
          item.config.dvc_config.apply_marker(marker)
  
      if (
          "CI" in os.environ
          and item.get_closest_marker("needs_internet") is not None
      ):
          # remotes that need internet connection might be flaky,
          # so we rerun them in case it fails.
          item.add_marker(pytest.mark.flaky(max_runs=5, min_passes=1))
  
imports: import json
  import os
  import sys
  from contextlib import suppress
  import pytest
  from dvc import env
  from dvc.stage import PipelineStage
  from dvc.testing.fixtures import *
  from .dir_helpers import *
  from .remotes import *
  from .scripts import *
label_desc: Use image node_id 6 for calling a global function with example usage: pytest_runtest_setup(item) without return types