MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / kernel

Function kernel

tests/test_kernel.py:15–19  ·  view source on GitHub ↗

Initialise Lean's search path and load a baseline `Init` env.

(example_lib)

Source from the content-addressed store, hash-verified

13
14@pytest.fixture(scope="session")
15def kernel(example_lib):
16 """Initialise Lean's search path and load a baseline `Init` env."""
17 example_lib.leanpy_kernel_init_search("")
18 example_lib.leanpy_kernel_load_env(["Init"])
19 return example_lib
20
21
22def test_kernel_loaded(kernel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected