class_docstr: Tests specific to IntervalIndex.from_breaks
code: def test_constructor_errors(self):
      # GH 19016: categorical data
      data = Categorical(list("01234abcde"), ordered=True)
      msg = (
          "category, object, and string subtypes are not supported "
          "for IntervalIndex"
      )
      with pytest.raises(TypeError, match=msg):
          IntervalIndex.from_breaks(data)
  
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 3 for calling the TestFromBreaks obj's underlying member method code with example usage: obj.test_constructor_errors() without return types