(e)
| 13 | |
| 14 | @app.errorhandler(CustomException) |
| 15 | def custom_exception_handler(e): |
| 16 | assert isinstance(e, CustomException) |
| 17 | return "custom" |
| 18 | |
| 19 | with pytest.raises(TypeError) as exc_info: |
| 20 | app.register_error_handler(CustomException(), None) |
nothing calls this directly
no outgoing calls
no test coverage detected