code: def test_searchsorted_different_argument_classes(listlike_box):
      # https://github.com/pandas-dev/pandas/issues/32762
      values = IntervalIndex([Interval(0, 1), Interval(1, 2)])
      result = values.searchsorted(listlike_box(values))
      expected = np.array([0, 1], dtype=result.dtype)
      tm.assert_numpy_array_equal(result, expected)
  
      result = values._data.searchsorted(listlike_box(values))
      tm.assert_numpy_array_equal(result, expected)
  
imports: from itertools import permutations
  import re
  import numpy
  import pytest
  import pandas
  from pandas import Index, Interval, IntervalIndex, Timedelta, Timestamp, date_range, interval_range, isna, notna, timedelta_range
  import pandas._testing
  import pandas.core.common
label_desc: Use image node_id 2 for calling a global function with example usage: test_searchsorted_different_argument_classes(listlike_box) without return types