'A deferred that does not fire within the timeout interval is made to
fire with ``CancelledError`` once the timeout interval elapses.'

def test_times_out(self):

    deferred = timeout(self.clock, self.deferred, self.timeout)
    self.clock.advance(self.timeout)
    self.failureResultOf(deferred, CancelledError)
