生成HTML报告时,报错:AttributeError: type object '_io.StringIO' has no attribute 'StringIO'

生成HTML报告时,报错:AttributeError: type object '_io.StringIO' has no attribute 'StringIO'

百度后,找到解决方法,原链接:http://www.cnblogs.com/testyao/p/5658200.html,直接下载 HTMLTestRunner.py 后,覆盖之前的 HTMLTestRunner.py

你可能感兴趣的:(生成HTML报告时,报错:AttributeError: type object '_io.StringIO' has no attribute 'StringIO')