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

Function evaluate

testing/test_mark_expression.py:9–10  ·  view source on GitHub ↗
(input: str, matcher: ExpressionMatcher)

Source from the content-addressed store, hash-verified

7
8
9def evaluate(input: str, matcher: ExpressionMatcher) -> bool:
10 return Expression.compile(input).evaluate(matcher)
11
12
13def test_empty_is_false() -> None:

Calls 2

evaluateMethod · 0.80
compileMethod · 0.80

Tested by

no test coverage detected