1、更改HTMLTestRunner.py模块中的代码1、更改StringIO模块导入方式: 2、self.outputBuffer=StringIO.StringIO() 改为self.outputBuffer= StringIO()
3、python3.6.2字典无has_key方法:
4、str没有decode方法,去掉decode转码方法 5、python3中print方法无>> 2、调用方式:1、引用时注意文件写入方式 2、运行run-run-运行的py文件 原地址:https://www.cnblogs.com/snailgirl/p/8521519.html |
|