def test_noPendingTimerEvents(self): """ Test reactor behavior (doIteration) when there are no pending time events. """ ir = IOCPReactor() ir.wakeUp() self.failIf(ir.doIteration(None))
def test_noPendingTimerEvents(self): """ Test reactor behavior (doIteration) when there are no pending time events. """ from twisted.internet.iocpreactor.reactor import IOCPReactor ir = IOCPReactor() ir.wakeUp() self.failIf(ir.doIteration(None))