簡體   English   中英

如何刪除PyCharm中的pytest --no-header --no-summary -q參數?

[英]How to remove pytest --no-header --no-summary -q parameters in PyCharm?

我看到運行默認設置pytest配置的參數如下:

Launching pytest with arguments payments/tests/test_edd_countries.py --no-header --no-summary -q in payments/tests

我想專門刪除所有這些參數:

--no-header --no-summary -q 

鑒於Edit Configurations中的Runtime configuration甚至沒有顯示它們,如何實現呢?

在此處輸入圖像描述

參數--no-header --no-summary -q添加為 IDE 設置(它們未在Run Configurations中設置)。

它們可以通過轉到File > Settings > Advanced Settings > Python並檢查選項Pytest: do not add "--no-header --no-summary -q" ,如屏幕截圖所示:

IDE 設置

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM