MCPcopy Index your code
hub / github.com/e2b-dev/code-interpreter / test_basic

Function test_basic

python/tests/test_basic.py:4–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3
4def test_basic():
5 with CodeInterpreter() as sandbox:
6 result = sandbox.notebook.exec_cell("x =1; x")
7 assert result.output == "1"

Callers

nothing calls this directly

Calls 2

CodeInterpreterClass · 0.90
exec_cellMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…