()
| 2 | |
| 3 | |
| 4 | def test_stateful(): |
| 5 | with CodeInterpreter() as sandbox: |
| 6 | sandbox.notebook.exec_cell("x = 1") |
| 7 | |
| 8 | result = sandbox.notebook.exec_cell("x+=1; x") |
| 9 | assert result.output == "2" |
nothing calls this directly
no test coverage detected
searching dependent graphs…