MCPcopy
hub / github.com/pytest-dev/pytest / test_invalid_idents

Function test_invalid_idents

testing/test_mark_expression.py:218–220  ·  view source on GitHub ↗
(ident: str)

Source from the content-addressed store, hash-verified

216 ),
217)
218def test_invalid_idents(ident: str) -> None:
219 with pytest.raises(SyntaxError):
220 evaluate(ident, lambda ident, /, **kwargs: True)
221
222
223@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

evaluateFunction · 0.85

Tested by

no test coverage detected