pycharm中run不再是xxx.py 仅供参考 问题描述 在pycharm时,右击run不再是xxx.py ,而是unittest in xxx 解决方案: 按图顺序进行查找,并将④中的unittests改为py.test 并进行应用即可