A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
fix(tests): access .code to register read in scratchpad ctx test (#9658)
Myles Scolnick0a2780a0e51c
diff --git a/tests/_server/test_scratchpad_integration.py b/tests/_server/test_scratchpad_integration.pyindex 5e556e0210..c118976c3e 100644--- a/tests/_server/test_scratchpad_integration.py+++ b/tests/_server/test_scratchpad_integration.py@@ -625,7 +625,7 @@ def test_ctx_run_cell_cascade_error(session: _Session) -> None:lines = session.execute("import marimo._code_mode as cm\n""async with cm.get_context() as ctx:\n"- ' ctx.cells["cell_a"]\n'+ ' ctx.cells["cell_a"].code\n'' ctx.edit_cell("cell_a", code="x = 0")\n'' ctx.run_cell("cell_a")',)