且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何查看在 pytest 运行期间创建的正常打印输出?

更新时间:2023-11-30 16:09:40

-s 开关 禁用每次测试捕获(仅当测试失败时).

The -s switch disables per-test capturing (only if a test fails).

-s 等价于 --capture=no.