如何让 pytest 不要屏蔽被测试程序的标准输出?-灵析社区

桃子爱吃玉米

pytest 命令加一个 `-s` 就行 把 `python -m pytest common` 改成 `python -m pytest -s common`

阅读量:1

点赞量:0

问AI