在pycharm中,如果py文件以 test 开头,则运行时会使用pytest执行,pycharm关闭pytest方式如下
File -> Settings -> Tools -> Python Intergrated Tools,右边Testing选择Unittests即可

在pycharm中,如果py文件以 test 开头,则运行时会使用pytest执行,pycharm关闭pytest方式如下
File -> Settings -> Tools -> Python Intergrated Tools,右边Testing选择Unittests即可

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。