您的位置: 首页 > 文章 > 解决‘run pytest in...‘ 解决‘run pytest in...‘ 分类: 文章 • 2024-03-07 10:49:51 Pycharm 退出pytest模式 近期在pycharm中运行python代码时,出现了‘run purest in…’,原来是进入到了pytest模式,以下是我的解决办法: **Step1:**选择PyCharm -> Preferences **Step2:**选择Tools **Step3:**在Tools下找到Python Integrated Tools **Step4:**在选项Testing 下的Default test runner中,将选项更改为第一项Unittests,最后点击OK即可。