def _convert_tolerance(self, tolerance, target):
    tolerance = super()._convert_tolerance(tolerance, target)
    if (self.dtype == target.dtype):
        tolerance = self._maybe_convert_timedelta(tolerance)
    return tolerance
def _convert_tolerance(self, tolerance, target):
    tolerance = super()._convert_tolerance(tolerance, target)
    if (self.dtype == target.dtype):
        tolerance = self._maybe_convert_timedelta(tolerance)
    return tolerance