Improve mock(_async)_callable & mock_constructor exceptions.
Đang mở
Better Error Messages
easy
enhancement
mock_constructor
mock(_async)_callable
- Ngôn ngữ chính
- Python
- Star
- 149
- Fork
- 62
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
With #184 adding caller_frame_info to mock instances, we can now improve all exceptions that are raised by these mocks, ta all contain information regarding the file:lineno where the mock was defined.
This is a frequently asked feature by uses, which should simplify development significantly.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.