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

Function test_editor_unclosed_quote

tests/test_termui.py:939–942  ·  view source on GitHub ↗

An unclosed quote in the editor command raises ValueError.

()

Source from the content-addressed store, hash-verified

937
938
939def test_editor_unclosed_quote():
940 """An unclosed quote in the editor command raises ValueError."""
941 with pytest.raises(ValueError, match="No closing quotation"):
942 Editor(editor='"unclosed').edit_files(["f.txt"])
943
944
945@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…