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

Function test_empty_is_false

testing/test_mark_expression.py:13–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11
12
13def test_empty_is_false() -> None:
14 assert not evaluate("", lambda ident, /, **kwargs: False)
15 assert not evaluate("", lambda ident, /, **kwargs: True)
16 assert not evaluate(" ", lambda ident, /, **kwargs: False)
17 assert not evaluate("\t", lambda ident, /, **kwargs: False)
18
19
20@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

evaluateFunction · 0.85

Tested by

no test coverage detected