如果需要通过 python setup.py test 的形式执行测试,则需要添加 [aliases] 到 setup.cfg 。 [aliases] test=pytest [tool:pytest] addopts = --verbose ...
確定! 回上一頁