def METHOD_NAME(self):
    retry = Retry(delay=10, max_tries=100)
    retry(self._fail(times=10))
    self.assertTrue(retry._cur_delay < 4000, retry._cur_delay)
    # gevent's sleep function is picky about the type
    self.assertEqual(type(retry._cur_delay), float)