def METHOD_NAME(self):
    self._assert_inserting_infinity_end_time_retrieves(datetime.max, datetime.max)
    self._assert_inserting_infinity_end_time_retrieves(datetime.min, datetime.min)
    self._assert_inserting_infinity_end_time_retrieves(
        datetime.max.replace(tzinfo=timezone.get_default_timezone()), datetime.max
    )
    self._assert_inserting_infinity_end_time_retrieves(
        datetime.min.replace(tzinfo=timezone.get_default_timezone()), datetime.min
    )
    self._assert_inserting_infinity_end_time_retrieves("infinity", datetime.max)
    self._assert_inserting_infinity_end_time_retrieves("-infinity", datetime.min)