Improve mock(_async)_callable & mock_constructor exceptions. #189
Labels
Better Error Messages
easy
enhancement
New feature or request
mock(_async)_callable
mock_constructor
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.
The text was updated successfully, but these errors were encountered: