开发者

How to stop/disable PyUnit when using PyDev

开发者 https://www.devze.com 2023-02-13 17:48 出处:网络
I would like to have PyUnit stop showing up each time I hit CtrlF11. It\'开发者_StackOverflows distracting and I don\'t understand it\'s output anyways, nor did I (knowingly) elect to enable it. I can

I would like to have PyUnit stop showing up each time I hit CtrlF11. It'开发者_StackOverflows distracting and I don't understand it's output anyways, nor did I (knowingly) elect to enable it. I can't find anything in PyDev settings.

How to stop/disable PyUnit when using PyDev


Ctrl + F11 has actually nothing to do with PyUnit. It is a key binding that per default runs the script you last launched. In your case the last launch you made must have been a PyUnit launch. If you would have launched the script with Run As then this would be launched if you press Ctrl + F11.

This could be a possible solution to your problem:

Remove the PyUnit launcher from Run History (Run -> Run Configurations and then delete the the configurations listed below Python unittest.

Hope that helped!

Cherio Woltan


Actually, in the PyDev > PyUnit settings (in the same screen you've shown), if you uncheck the 'show the results in the unittest results view', it should do what you want (i.e.: stop showing the PyUnit view)... or that's not what you wanted?

0

精彩评论

暂无评论...
验证码 换一张
取 消