MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_syntax_errors

Function test_syntax_errors

testing/test_mark_expression.py:131–135  ·  view source on GitHub ↗
(expr: str, column: int, message: str)

Source from the content-addressed store, hash-verified

129 ),
130)
131def test_syntax_errors(expr: str, column: int, message: str) -> None:
132 with pytest.raises(ParseError) as excinfo:
133 evaluate(expr, lambda ident: True)
134 assert excinfo.value.column == column
135 assert excinfo.value.message == message
136
137
138@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

evaluateFunction · 0.85

Tested by

no test coverage detected