test_pdb.py 文件源码

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

项目:pdb 作者: antocuni 项目源码 文件源码
def test_utf8():
    py.test.skip('fails on python 2.7')
    def fn():
        # ????
        a = 1
        set_trace(Config = ConfigWithHighlight)
        return a

    # we cannot easily use "check" because the output is full of ANSI escape
    # sequences
    expected, lines = run_func(fn, '# ll\n# c')
    assert '????' in lines[4]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号