def test_remove_timeout_after_fire(self):
# It is not an error to call remove_timeout after it has run.
handle = self.io_loop.add_timeout(self.io_loop.time(), self.stop())
self.wait()
self.io_loop.remove_timeout(handle)
# Deliberately not a subclass of AsyncTestCase so the IOLoop isn't
# automatically set as current.
ioloop_test.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录