pytest + pytest-html skip 用例后,报错 AttributeError: ‘tuple‘ object has no attribute ‘rsplit‘

最近发现pytest框架中,skip用例后,如果生成报告就会报错,不生成报告就不会报错。 报错内容是 AttributeError: ‘tuple’ object has no attribute ‘rsplit’ 就下图这样一大坨错误。 查来查去没发现问题,百度上也没人说过这个事。后来在Google上发现了其他人也遇到了同样的问题。 所以我记录一下,如果其他人遇到了也能百度的到这个解决方法。 其
相关文章
相关标签/搜索