有时候可能是代码预配置的问题,pycharm会以 py.test 运行。如何取消?

1. 进入File—Settings—Python Integrated Tools,发现设置中 Default test runner 是 Unittests

使 pycharm 不以 py.test 方式运行

2. 将其改为py.test,点击OK保存

使 pycharm 不以 py.test 方式运行

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2021-12-24
  • 2021-08-01
  • 2021-08-15
相关资源
相似解决方案