def test_simple(self):
        loop = ioloop.IOLoop()
        dc = ioloop.DelayedCallback(loop.stop, 200, loop)
        pc = ioloop.DelayedCallback(lambda : None, 10, loop)
        pc.start()
        dc.start()
        t = Delay(loop.stop,1)
        t.start()
        loop.start()
        if t.isAlive():
            t.abort()
        else:
            self.fail("IOLoop failed to exit")
simple IOLoop creation test
dataset/ETHPy150Open felipecruz/zmqpy/zmqpy/tests/pyzmq_tests/test_ioloop.py/TestIOLoop.test_simple