コード例 #1
0
ファイル: test_iocp.py プロジェクト: antong/twisted
 def test_noPendingTimerEvents(self):
     """
     Test reactor behavior (doIteration) when there are no pending time
     events.
     """
     ir = IOCPReactor()
     ir.wakeUp()
     self.failIf(ir.doIteration(None))
コード例 #2
0
 def test_noPendingTimerEvents(self):
     """
     Test reactor behavior (doIteration) when there are no pending time
     events.
     """
     ir = IOCPReactor()
     ir.wakeUp()
     self.failIf(ir.doIteration(None))
コード例 #3
0
 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))
コード例 #4
0
ファイル: test_iocp.py プロジェクト: Almad/twisted
 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))