code: def test_get_slice_bound(testlist, side, kind):
      index = GenericIndex(testlist)
      index_pd = pd.Index(testlist)
      for label in testlist:
          with pytest.warns(FutureWarning):
              expect = index_pd.get_slice_bound(label, side, kind)
          with expect_warning_if(kind is not None, FutureWarning):
              got = index.get_slice_bound(label, side, kind)
          assert got == expect
  
imports: import numpy
  import pandas
  import pytest
  import cudf
  from cudf import Index, MultiIndex, Series
  from cudf.core.index import CategoricalIndex, DatetimeIndex, GenericIndex, RangeIndex
  from cudf.testing._utils import assert_eq, expect_warning_if
label_desc: Use image node_id 9 for calling a global function with example usage: test_get_slice_bound(testlist, side, kind) without return types