← Về thư mục
tests/test_lazy_kernel.py
- _Kernel · class · L9-L29 — class _Kernel
- init · method · L10-L13 — def init(self) -> None
- execute · method · L15-L17 — def execute(self, code: str, *, origin: str) -> dict
- is_alive · method · L19-L20 — def is_alive(self) -> bool
- inspect_variables · method · L22-L23 — def inspect_variables(self, *, limit=200) -> dict
- interrupt · method · L25-L26 — def interrupt(self) -> None
- shutdown · method · L28-L29 — def shutdown(self) -> None
- test_context_without_code_never_creates_a_worker · function · L32-L40 — def test_context_without_code_never_creates_a_worker()
- test_variable_inspection_preserves_lazy_no_spawn_contract · function · L43-L54 — def test_variable_inspection_preserves_lazy_no_spawn_contract()
- test_first_cell_bootstraps_once_reuses_and_detaches_worker · function · L57-L85 — def test_first_cell_bootstraps_once_reuses_and_detaches_worker()
- factory · function · L61-L64 — def factory() -> _Kernel
- test_bootstrap_failure_does_not_publish_a_broken_worker · function · L88-L102 — def test_bootstrap_failure_does_not_publish_a_broken_worker()
- fail · function · L92-L93 — def fail(_kernel: _Kernel) -> None
- test_interrupt_reports_the_kernel_s_verdict_not_that_it_was_called · function · L117-L140 — def test_interrupt_reports_the_kernel_s_verdict_not_that_it_was_called( verdict, expected )
- _Interruptible · class · L131-L134 — class _Interruptible(_Kernel)
- interrupt · method · L132-L134 — def interrupt(self)
- test_interrupting_a_kernel_that_was_never_started_is_false · function · L143-L148 — def test_interrupting_a_kernel_that_was_never_started_is_false()