test_cli.py 文件源码

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

项目:kernda 作者: maxpoint 项目源码 文件源码
def test_original_spec(kernel):
    """The kernel should output a conda path in the test suite environment.

    More of a test of the complicated logic in the test fixture than
    anything, but it ensures a a good test baseline.
    """
    stdout = pexpect.run('which conda')
    conda_path = stdout.decode('utf-8').strip()
    assert conda_path.startswith(sys.prefix)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号