运行pytest.ini文件时,报UnicodeDecodeError: 'gbk' codec can't decode byte 0xb0 in position 53: illegal multibyte sequence
一.问题描述:写好test.py文件和pytest.ini文件后,报错:UnicodeDecodeError: 'gbk' codec can't decode byte 0xb0 in position 53: illegal multibyte sequence
二.解决步骤:
1.选择pytest.ini文件
2.点击 file选项
3.选择 File Encoding后
4.选择 GBK
本文来自博客园,作者:浪里小白龙qaq,转载请注明原文链接:https://www.cnblogs.com/xiao-bai-long/p/14164647.html