官术网_书友最值得收藏!

Disabling capturing with -s

While running your tests locally, you might want to disable output capturing to see what messages are being printed in real-time, or whether the capturing is interfering with other capturing your code might be doing.

In those cases, just pass -s to pytest to completely disable capturing:

λ pytest tests\test_digest.py -s
======================== test session starts ========================
...

tests\test_digest.py content size 29
0cf857938e0b4a1b3fdd41d424ae97d0caeab166
.

===================== 1 passed in 0.02 seconds ======================
主站蜘蛛池模板: 偃师市| 华宁县| 滁州市| 全南县| 若羌县| 乾安县| 罗源县| 景泰县| 泰州市| 洪湖市| 沧源| 云龙县| 麻阳| 岫岩| 泽普县| 孟村| 南木林县| 徐水县| 商洛市| 新邵县| 海伦市| 普兰店市| 疏附县| 通渭县| 彩票| 乐陵市| 米脂县| 明水县| 江津市| 澄城县| 秦安县| 那曲县| 岐山县| 富源县| 台州市| 同仁县| 册亨县| 广西| 衡山县| 青冈县| 宜兰县|