class_docstr: Common tests for all variations of IntervalIndex construction. Input data
  to be supplied in breaks format, then converted by the subclass method
  get_kwargs_from_breaks to the expected format.
code: def test_constructor_string(self, constructor, breaks):
      # GH 19016
      msg = (
          "category, object, and string subtypes are not supported "
          "for IntervalIndex"
      )
      with pytest.raises(TypeError, match=msg):
          constructor(**self.get_kwargs_from_breaks(breaks))
  
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 6 for calling the ConstructorTests obj's underlying member method code with example usage: obj.test_constructor_string(constructor, breaks) without return types