class_docstr: Tests specific to IntervalIndex.from_arrays
docstr: converts intervals in breaks format to a dictionary of kwargs to
  specific to the format expected by IntervalIndex.from_arrays
docstr_tok: ["converts","intervals","in","breaks","format","to","a","dictionary","of","kwargs","to","specific","to","the","format","expected","by","IntervalIndex.from_arrays"]
code: def get_kwargs_from_breaks(self, breaks, closed="right"):
      """
      converts intervals in breaks format to a dictionary of kwargs to
      specific to the format expected by IntervalIndex.from_arrays
      """
      return {"left": breaks[:-1], "right": breaks[1:]}
  
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 2 for calling the TestFromArrays obj's underlying member method code with example usage: obj.get_kwargs_from_breaks(breaks, closed) and returns: dict