Pycharm如何退出pytest模式——讨厌run pytest in

run pytest in模式——一坨屎一样

你在写程序时,一定很讨厌pycharm自动将允许模式设置为pytest吧。由于程序中含有test相关单词,系统默认模式为pytest,但是pytest不能执行程序
Pycharm如何退出pytest模式——讨厌run pytest in
Pycharm如何退出pytest模式——讨厌run pytest in

解决办法

方法一
步骤一:Run–>Edit Configurations…
Pycharm如何退出pytest模式——讨厌run pytest in
步骤二:点击“-”即可去掉
Pycharm如何退出pytest模式——讨厌run pytest in
方法二:
步骤一: File–>settings–>Toos–>python integrated tools–>选择unittest
详细教程来了
Pycharm如何退出pytest模式——讨厌run pytest in
Pycharm如何退出pytest模式——讨厌run pytest in
Pycharm如何退出pytest模式——讨厌run pytest in

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-16
  • 2021-12-26
  • 2021-11-14
  • 2021-12-09
  • 2022-12-23
猜你喜欢
  • 2022-01-07
  • 2021-09-23
  • 2022-12-23
  • 2021-07-20
  • 2021-08-15
  • 2021-06-28
  • 2021-05-29
相关资源
相似解决方案