在使用pytest时配置文件中的注释报错了! UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 13: illegal multibyte sequence 【已解决】

 

在配置pytest.ini 文件时添加了中文字符

然后就报错了

去除配置文件中的中文既可

 

在使用pytest时配置文件中的注释报错了! UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 13: illegal multibyte sequence 【已解决】

 

 

 

在使用pytest时配置文件中的注释报错了! UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 13: illegal multibyte sequence 【已解决】

 

 

 

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

 

在使用pytest时配置文件中的注释报错了! UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 13: illegal multibyte sequence 【已解决】

上一篇:1个TCP连接可以发多少个HTTP请求?


下一篇:httprunner3 log放到allure中显示