class_docstr: Tests specific to the IntervalIndex/Index constructors
code: def test_index_object_dtype(self, values_constructor):
      # Index(intervals, dtype=object) is an Index (not an IntervalIndex)
      intervals = [Interval(0, 1), Interval(1, 2), Interval(2, 3)]
      values = values_constructor(intervals)
      result = Index(values, dtype=object)
  
      assert type(result) is Index
      tm.assert_numpy_array_equal(result.values, np.array(values))
  
imports: from functools import partial
  import numpy
  import pytest
  import pandas.util._test_decorators
  from pandas.core.dtypes.common import is_unsigned_integer_dtype
  from pandas.core.dtypes.dtypes import IntervalDtype
  from pandas import Categorical, CategoricalDtype, CategoricalIndex, Index, Interval, IntervalIndex, date_range, notna, period_range, timedelta_range
  import pandas._testing
  from pandas.core.arrays import IntervalArray
  import pandas.core.common
label_desc: Use image node_id 7 for calling the TestClassConstructors obj's underlying member method code with example usage: obj.test_index_object_dtype(values_constructor) without return types