AttributeError: 'CollectReport' object has no attribute 'description
时间: 2023-10-01 17:04:58 浏览: 116
AttributeError: 'CollectReport' object has no attribute 'description' 是一个错误提示,意味着在一个名为'CollectReport'的对象中,没有名为'description'的属性。这个错误通常是由于程序中的某个地方使用了一个不存在的属性引起的。对于这个具体错误,根据引用和引用的描述,可以推测出可能是在执行测试时出现了这个错误。而根据引用的描述,可能是因为在添加脚本的注释信息时,生成的__init__.py文件包含了一个注释信息,导致出现该错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [【bug记录】python自动化测试 AttributeError: ‘CollectReport‘ object has no attribute ‘description](https://blog.csdn.net/xingxing_sun/article/details/131783937)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [INTERNALERROR> AttributeError: ‘CollectReport‘ object has no attribute ‘description‘问题解决](https://blog.csdn.net/qsmy_an/article/details/127121077)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文