test_pdb.py 文件源码

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

项目:pdb 作者: antocuni 项目源码 文件源码
def test_postmortem_noargs():

    def fn():
        try:
            a = 1
            1/0
        except ZeroDivisionError:
            pdb.post_mortem(Pdb=PdbTest)

    check(fn, """
[NUM] > .*fn()
-> 1/0
# c
""")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号