Skip to content

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.

Include an exception in the PDF smoke test (#7699)

Akshay Agrawald1ffdeef369d
diff --git a/marimo/_smoke_tests/pdf_export/basic_example.py b/marimo/_smoke_tests/pdf_export/basic_example.py
index 7f1a7c82af..52028dc706 100644
--- a/marimo/_smoke_tests/pdf_export/basic_example.py
+++ b/marimo/_smoke_tests/pdf_export/basic_example.py
@@ -38,6 +38,20 @@ def _(mo):
return
+def _():
+ # How are errors serialized?
+ 1 / 0
+ return
+
+
+def _():
+ print("This is console output")
+ return
+
+
+
@app.cell
def _(px):
df = px.data.iris()