setup.py 文件源码

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

项目:PySlices 作者: calvinschmdt 项目源码 文件源码
def _test():
    """Run the unit tests.

    :return: exit code
    """
    # Make sure to import pytest in this function. For the reason, see here:
    # <http://pytest.org/latest/goodpractises.html#integration-with-setuptools-test-commands>  # NOPEP8
    import pytest
    # This runs the unit tests.
    # It also runs doctest, but only on the modules in TESTS_DIRECTORY.
    return pytest.main(PYTEST_FLAGS + [TESTS_DIRECTORY])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号