MCPcopy Create free account
hub / github.com/pybind/pybind11 / test_evals

Function test_evals

tests/test_eval.py:11–19  ·  view source on GitHub ↗
(capture)

Source from the content-addressed store, hash-verified

9
10
11def test_evals(capture):
12 with capture:
13 assert m.test_eval_statements()
14 assert capture == "Hello World!"
15
16 assert m.test_eval()
17 assert m.test_eval_single_statement()
18
19 assert m.test_eval_failure()
20
21
22@pytest.mark.xfail("env.PYPY or env.GRAALPY", raises=RuntimeError)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected