fabfile.py 文件源码

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

项目:hugo_jupyter 作者: knowsuchagency 项目源码 文件源码
def test_all(absolute_path=None):
    """Run on multiple Python versions with tox."""
    from pathlib import Path

    # This happens to be where I have Python 3.5 installed; may well be different for others. Edit as necessary.
    py35_path = Path(Path.home(), '.pyenv/versions/3.5.2/bin') if absolute_path is None else Path(absolute_path)

    with path(str(py35_path.absolute())):
        local('tox')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号