Improve mock(_async)_callable & mock_constructor exceptions.
Aperta
Better Error Messages
easy
enhancement
mock_constructor
mock(_async)_callable
- Lingua principale
- Python
- Stelle
- 149
- Fork
- 62
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.