code: def test_drop_duplicates_no_duplicates(self, index_flat):
      # MultiIndex is tested separately
      index = index_flat
  
      # make unique index
      if isinstance(index, RangeIndex):
          # RangeIndex cannot have duplicates
          unique_idx = index
      else:
          holder = type(index)
          unique_values = list(set(index))
          dtype = index.dtype if is_numeric_dtype(index) else None
          unique_idx = holder(unique_values, dtype=dtype)
  
      # check on unique index
      expected_duplicated = np.array(
          [False] * len(unique_idx), dtype="bool"
      )
      tm.assert_numpy_array_equal(
          unique_idx.duplicated(), expected_duplicated
      )
      result_dropped = unique_idx.drop_duplicates()
      tm.assert_index_equal(result_dropped, unique_idx)
      # validate shallow copy
      assert result_dropped is not unique_idx
  
imports: from copy import copy, deepcopy
  import re
  import numpy
  import pytest
  from pandas.compat import IS64
  from pandas.compat.numpy import np_version_gte1p25
  from pandas.core.dtypes.common import is_integer_dtype, is_numeric_dtype
  import pandas
  from pandas import CategoricalIndex, MultiIndex, PeriodIndex, RangeIndex
  import pandas._testing
label_desc: Use image node_id 15 for calling the TestCommon obj's underlying member method code with example usage: obj.test_drop_duplicates_no_duplicates(index_flat) without return types