testing.py 文件源码

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

项目:infinite-lorem-ipsum 作者: patjm1992 项目源码 文件源码
def __exit__(self, exc_type, exc_value, tb):
        self.preserve_context = False

        # on exit we want to clean up earlier.  Normally the request context
        # stays preserved until the next request in the same thread comes
        # in.  See RequestGlobals.push() for the general behavior.
        top = _request_ctx_stack.top
        if top is not None and top.preserved:
            top.pop()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号