def __init__(
self, start: Real, end: Real, left: bool = True, right: bool = True
):
start = To.real(start)
end = To.real(end)
if end <= start:
> raise ValueError(
"Received interval [{start}, {end}], but {end} <= {start}"
)
E ValueError: Received interval [{start}, {end}], but {end} <= {start}
When trying to create an interval when
end <= start, we receive the error message:It seems missing a
ffor format strings