code: def skip_docstring(docstring_obj):
      """
      Returns a string indicating why the doctest example string should not be
      tested, or None if it should be tested.  This string can be used as the
      "reason" arg to pytest.skip().
  
      Currently, this function will return a reason string if the docstring
      contains a line with the following text:
  
      "currently not available on CUDA <version> systems"
  
      where <version> is a major.minor version string, such as 11.4, that matches
      the version of CUDA on the system running the test.  An example of a line
      in a docstring that would result in a reason string from this function
      running on a CUDA 11.4 system is:
  
      NOTE: this function is currently not available on CUDA 11.4 systems.
      """
      docstring = docstring_obj.docstring
      for line in docstring.splitlines():
          if (
              f"currently not available on CUDA {cuda_version_string} systems"
              in line
          ):
              return f"docstring example not supported on CUDA {cuda_version_string}"
      return None
  
imports: import contextlib
  import doctest
  import inspect
  import io
  import os
  import numpy
  import pandas
  import scipy
  import pytest
  import cugraph
  import pylibcugraph
  import cudf
  from numba import cuda
  from cugraph.testing import utils
label_desc: Use image node_id 9 for calling a global function with example usage: skip_docstring(docstring_obj) and returns: None, str, cuda_version_string