code: def test_non_unique(self, indexer_sl):
      idx = IntervalIndex.from_tuples([(1, 3), (3, 7)])
      ser = Series(range(len(idx)), index=idx)
  
      result = indexer_sl(ser)[Interval(1, 3)]
      assert result == 0
  
      result = indexer_sl(ser)[[Interval(1, 3)]]
      expected = ser.iloc[0:1]
      tm.assert_series_equal(expected, result)
  
file_path: pandas/pandas/tests/indexing/interval/test_interval_new.py
imports: import re
  import numpy
  import pytest
  from pandas.compat import IS64
  from pandas import Index, Interval, IntervalIndex, Series
  import pandas._testing
label_desc: Use image node_id 9 for calling the TestIntervalIndex obj's underlying member method code with example usage: obj.test_non_unique(indexer_sl) without return types