MCPcopy
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.")
221def test_prompts_abort(monkeypatch, capsys):
222 def f(_):
223 raise KeyboardInterrupt()
224
225 monkeypatch.setattr("click.termui.hidden_prompt_func", f)
226

Callers 6

functionMethod · 0.50
new_funcFunction · 0.50
read1Method · 0.50
raw_terminalFunction · 0.50
processorFunction · 0.50
new_funcFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected