()
| 7 | |
| 8 | |
| 9 | def test_independence_of_kernels(): |
| 10 | with CodeInterpreter() as sandbox: |
| 11 | kernel_id = sandbox.notebook.create_kernel() |
| 12 | sandbox.notebook.exec_cell("x = 1") |
| 13 | |
| 14 | r = sandbox.notebook.exec_cell("x", kernel_id=kernel_id) |
| 15 | assert r.error.value == "name 'x' is not defined" |
| 16 | |
| 17 | |
| 18 | def test_restart_kernel(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…