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

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 ======================
主站蜘蛛池模板: 琼海市| 蒙自县| 龙门县| 额济纳旗| 太湖县| 襄樊市| 丽水市| 望奎县| 阜平县| 博乐市| 岳池县| 桐柏县| 九台市| 客服| 冕宁县| 衡东县| 上蔡县| 新田县| 达日县| 济源市| 无极县| 舟曲县| 璧山县| 宁陵县| 嘉黎县| 原阳县| 巴南区| 尚义县| 邓州市| 兖州市| 拜城县| 陵水| 大方县| 新营市| 鄂伦春自治旗| 潮州市| 吉首市| 靖江市| 英德市| 上思县| 十堰市|