def assert_interval_array_equal(left, right, exact='<STR_LIT>',<EOL>obj='<STR_LIT>'):
_check_isinstance(left, right, IntervalArray)<EOL>assert_index_equal(left.left, right.left, exact=exact,<EOL>obj='<STR_LIT>'.format(obj=obj))<EOL>assert_index_equal(left.right, right.right, exact=exact,<EOL>obj='<STR_LIT>'.format(obj=obj))<EOL>assert_attr_equal('<STR_LIT>', left, right, obj=obj)<EOL>
Test that two IntervalArrays are equivalent.

    Parameters
    ----------
    left, right : IntervalArray
        The IntervalArrays to compare.
    exact : bool / string {'equiv'}, default 'equiv'
        Whether to check the Index class, dtype and inferred_type
        are identical. If 'equiv', then RangeIndex can be substituted for
        Int64Index as well.
    obj : str, default 'IntervalArray'
        Specify object name being compared, internally used to show appropriate
        assertion message