MCPcopy Create free account
hub / github.com/python-cmd2/cmd2 / test_tokenize_unclosed_quotes

Function test_tokenize_unclosed_quotes

tests/test_parsing.py:114–116  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

112
113
114def test_tokenize_unclosed_quotes(parser) -> None:
115 with pytest.raises(exceptions.Cmd2ShlexError):
116 _ = parser.tokenize('command with "unclosed quotes')
117
118
119@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

tokenizeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…