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

Function test_syntax_oddeties

testing/test_mark_expression.py:64–66  ·  view source on GitHub ↗
(expr: str, expected: bool)

Source from the content-addressed store, hash-verified

62 ),
63)
64def test_syntax_oddeties(expr: str, expected: bool) -> None:
65 matcher = {"true": True, "false": False}.__getitem__
66 assert evaluate(expr, matcher) is expected
67
68
69def test_backslash_not_treated_specially() -> None:

Callers

nothing calls this directly

Calls 1

evaluateFunction · 0.85

Tested by

no test coverage detected