Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
9
def
evaluate(input: str, matcher: ExpressionMatcher) -> bool:
10
return
Expression.compile(input).evaluate(matcher)
11
12
13
def
test_empty_is_false() -> None:
Callers
12
test_empty_is_false
Function · 0.85
test_basic
Function · 0.85
test_syntax_oddities
Function · 0.85
test_backslash_not_treated_specially
Function · 0.85
test_backslash_in_identifier_with_string_literal
Function · 0.85
test_syntax_errors
Function · 0.85
test_valid_idents
Function · 0.85
test_invalid_idents
Function · 0.85
test_invalid_kwarg_name_or_value
Function · 0.85
test_keyword_expressions_with_numbers
Function · 0.85
test_builtin_matchers_keyword_expressions
Function · 0.85
test_str_keyword_expressions
Function · 0.85
Calls
2
evaluate
Method · 0.80
compile
Method · 0.80
Tested by
no test coverage detected