HttpRunner3.X

一、前言

  转自:https://blog.csdn.net/zjxht62/article/details/116305944

二、错误现象  

  在调试的时候,接口返回报文中的中文显示为unicode字符,无法阅读

三、解决方法

找到client.py文件,一般文件在python安装目录下的/Lib/site-packages/httprunner里

比如我的就在: E:ProgramsPythonPython38-32Libsite-packageshttprunnerclient.py

四、验证是否生效  

  重新在ide里跑一下测试即可

原文地址:https://www.cnblogs.com/Chilam007/p/15022764.html