Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ do_abort
Function
do_abort
tests/test_user_error_handler.py:52–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
50
51
@app.route(
"/abort"
)
52
def
do_abort():
53
flask.abort(500)
54
55
app.testing = False
56
assert client.get(
"/custom"
).data == b
"custom"
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected