def METHOD_NAME(self):
    d = misc.cancelAfter(10, self.d, self.reactor)
    self.assertFalse(d.called)
    self.reactor.advance(11)
    self.d.errback(RuntimeError("oh noes"))  # ignored
    self.assertTrue(d.called)
    yield self.assertFailure(d, defer.CancelledError)