Improve mock_constructor() old pointer error message
未关闭
Better Error Messages
enhancement
mock_constructor
- 主要语言
- Python
- 星标
- 149
- 派生
- 62
- PR 合并指标
- 30 天内没有已合并 PR
描述
The current error message:
```
BaseException: Attribute getting after the class has been used with mock_constructor() is not supported! After using mock_constructor() you must get a pointer to the new mocked class...
```
Is hard to understand. Let's:
- Make this message clearer.
- Add links to the docs. This requires having a place where the version is defined so the doc link can be constructed correctly `https://testslide.readthedocs.io/en/$VERSION/mock_constructor/index.html`.
贡献指南
评估
这个 Issue 还没有评估数据。