HttpRunner3.X - 控制台log中返回报文unicode修改
一、前言
转自:https://blog.csdn.net/zjxht62/article/details/116305944
二、错误现象
在调试的时候,接口返回报文中的中文显示为unicode字符,无法阅读
三、解决方法
找到client.py文件,一般文件在python安装目录下的/Lib/site-packages/httprunner里
比如我的就在: E:\Programs\Python\Python38-32\Lib\site-packages\httprunner\client.py
四、验证是否生效
重新在ide里跑一下测试即可