Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/click
/ f
Function
f
tests/test_utils.py:222–223 ·
view source on GitHub ↗
(_)
Source
from the content-addressed store, hash-verified
220
@pytest.mark.skipif(WIN, reason=
"Different behavior on windows."
)
221
def
test_prompts_abort(monkeypatch, capsys):
222
def
f(_):
223
raise
KeyboardInterrupt()
224
225
monkeypatch.setattr(
"click.termui.hidden_prompt_func"
, f)
226
Callers
6
function
Method · 0.50
new_func
Function · 0.50
read1
Method · 0.50
raw_terminal
Function · 0.50
processor
Function · 0.50
new_func
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected