'If the iterable of intervals that we pass to ``poll_until`` is
exhausted before we get a truthy return value, then we raise
``LoopExceeded``.'

def test_loop_exceeded(self):

    results = ([False] * 5)
    steps = ([0.1] * 3)
    self.assertRaises(LoopExceeded, poll_until, (lambda : results.pop(0)), steps, (lambda ignored: None))
