pytest出现“AttributeError:‘str‘object has no attribute ‘xx‘”解决方案
在使用pytest做测试时,出现“AttributeError:‘str’object has no attribute’xx’”错误Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\Al\AppData\Local\Programs\Python\Python38\lib\site-packages\pytest\__init__.py", line
原创
2021-06-13 18:41:57 ·
7283 阅读 ·
2 评论