MCPcopy Index your code
hub / github.com/python-cmd2/cmd2 / test_parse_unclosed_quotes

Function test_parse_unclosed_quotes

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

Source from the content-addressed store, hash-verified

649
650
651def test_parse_unclosed_quotes(parser) -> None:
652 with pytest.raises(exceptions.Cmd2ShlexError):
653 _ = parser.tokenize("command with 'unclosed quotes")
654
655
656def test_empty_statement_raises_exception() -> None:

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…