integration_test.py 文件源码

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

项目:aactivator 作者: Yelp 项目源码 文件源码
def get_proc(shell, homedir):
    return pexpect.spawn(
        shell[0], list(shell[1:]),
        timeout=5,
        env={
            'COVERAGE_PROCESS_START': os.environ.get(
                'COVERAGE_PROCESS_START', '',
            ),
            'PS1': PS1,
            'TOP': os.environ.get('TOP', ''),
            'HOME': str(homedir),
            'PATH': os.path.dirname(sys.executable) + os.defpath
        },
    )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号