'The backoff doesn\'t exceed `max_sleep`.'

def test_limits_at_max_sleep(self):

    min_sleep = 0.1
    max_sleep = 0.2
    delay = _UnconvergedDelay(min_sleep=min_sleep, max_sleep=max_sleep)
    delay.sleep()
    sleep = delay.sleep()
    self.assertEqual(max_sleep, sleep.delay_seconds)
