在配置pytest.ini 文件时添加了中文字符
然后就报错了
去除配置文件中的中文既可
https://blog.csdn.net/gdkyxy2013/article/details/108264018?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522163193011416780357216409%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=163193011416780357216409&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_ecpm_v1~rank_v31_ecpm-1-108264018.first_rank_v2_pc_rank_v29&utm_term=UnicodeDecodeError%3A+%27gbk%27+codec+can%27t+decode+byte+0xae+in+position+55%3A+illegal+multibyte+sequence&spm=1018.2226.3001.4187