code: def pytest_ignore_collect(path, config):
      """Ignore paths that would otherwise be collceted by the doctest
      plugin and lead to ImportError due to missing dependencies.
      """
      return any(path.fnmatch(ignore) for ignore in ignore_test_paths)
  
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_ignore_collect(path, config) and returns: any