注:我安装的Python是3.5版本

在练习自动化测试的过程中,下载了BSTestRunner放在python的lib目录下,做以下修改:
Python测试报告:name 'unicode' is not defined
输出测试报告,运行之后,编译结果返回如图:
Python测试报告:name 'unicode' is not defined
打开测试报告显示如下:
Python测试报告:name 'unicode' is not defined
在BSTestRunner中找到报错的地方进行了修改:
Python测试报告:name 'unicode' is not defined
再运行,OK!
Python测试报告:name 'unicode' is not defined

共勉~

相关文章:

  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2021-04-17
  • 2021-10-19
  • 2021-06-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案