mock.py 文件源码

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

项目:napalm-base 作者: napalm-automation 项目源码 文件源码
def raise_exception(result):
    exc = locate(result["exception"])
    if exc:
        raise exc(*result.get("args", []), **result.get("kwargs", {}))
    else:
        raise TypeError("Couldn't resolve exception {}", result["exception"])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号