ioloop_test.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:get_started_with_respeaker 作者: respeaker 项目源码 文件源码
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.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号