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

Function test_eval_empty_globals

tests/test_eval.py:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29
30def test_eval_empty_globals():
31 assert "__builtins__" in m.eval_empty_globals(None)
32
33 g = {}
34 assert "__builtins__" in m.eval_empty_globals(g)
35 assert "__builtins__" in g
36
37
38def test_eval_closure():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected