MCPcopy
hub / github.com/pallets/click / test_editor_nonexistent_exception

Function test_editor_nonexistent_exception

tests/test_termui.py:567–570  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

565
566
567def test_editor_nonexistent_exception():
568 with patch("subprocess.Popen", side_effect=OSError("not found")):
569 with pytest.raises(click.ClickException, match="not found"):
570 Editor(editor="nonexistent").edit_files(["f.txt"])
571
572
573@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

EditorClass · 0.90
edit_filesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…