code: def test_slice_locs_dup_numeric(self, dtype):
      index = Index(np.array([10, 12, 12, 14], dtype=dtype))
      assert index.slice_locs(12, 12) == (1, 3)
      assert index.slice_locs(11, 13) == (1, 3)
  
      index2 = index[::-1]
      assert index2.slice_locs(12, 12) == (1, 3)
      assert index2.slice_locs(13, 11) == (1, 3)
  
imports: import numpy
  import pytest
  from pandas.errors import InvalidIndexError
  from pandas import NA, Index, RangeIndex, Series, Timestamp
  import pandas._testing
  from pandas.core.arrays import ArrowExtensionArray, FloatingArray
label_desc: Use image node_id 3 for calling the TestSliceLocs obj's underlying member method code with example usage: obj.test_slice_locs_dup_numeric(dtype) without return types