前面使用过unittest的都知道,setup和teardown是用来处理用例的前置工作和清理工作,其中 ... 命令行输入: pytest -s test_demo01.py 执行结果如下:
確定! 回上一頁