Improve mock(_async)_callable & mock_constructor exceptions.
Abierto
Better Error Messages
easy
enhancement
mock_constructor
mock(_async)_callable
- Lenguaje dominante
- Python
- Estrellas
- 149
- Forks
- 62
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.