MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / test_evaluate_literal

Function test_evaluate_literal

18-with-match/lispy/py3.9/lis_test.py:86–90  ·  view source on GitHub ↗
(std_env: Environment)

Source from the content-addressed store, hash-verified

84
85
86def test_evaluate_literal(std_env: Environment) -> None:
87 source = '3.3'
88 expected = 3.3
89 got = evaluate(parse(source), std_env)
90 assert got == expected
91
92
93def test_evaluate_quote(std_env: Environment) -> None:

Callers

nothing calls this directly

Calls 2

evaluateFunction · 0.90
parseFunction · 0.90

Tested by

no test coverage detected