当并非所有文件都是utf-8编码时,poetry run pytest -v上的测试就会失败。_buffer_decode(data,self.errors,final) E UnicodeDecodeError:'utf-8‘编解码器不能解码位置为380的字节0xf 8:无效的起始字节==============错误测试/匿名/test.txt- UnicodeDecodeError:'utf-8’编解码器无法解码位置380的字节0xf
我创建了在提交之前测试Python应用程序的工作流。问题是,如果测试失败,无论如何都会推送提交。如果测试不成功,我如何添加条件来避免推送? 下面是工作流文件.yml的结构。steps:- name: Set up Python 3.8 withpip install -r requirements.txt
- name: Lint with f
我遵循了互联网上的一些方法,但当我测试时将显示生成成功消息,但未显示任何结果和小窗口'Launch error There is a problem launchingusing posix_spawn (error code: 8).' details : Code: 9 Recovery Suggestion: There is a problem launchingusing posix_spawn (error code: 8) ->
下面是我启动<e