Skip to content

Commit 82dfd72

Browse files
committed
Small fix
1 parent f5de1a5 commit 82dfd72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/scripts/check_notebooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def check_notebook_output(notebook_path, env="python3", ignore_whitespace=False)
101101

102102
new_cell_stdout = "".join([
103103
new_cell_output["text"]
104-
for new_cell_output in new_cell["outputs"] if new_cell_output["name"] == "stdout"
104+
for new_cell_output in new_cell["outputs"] if new_cell_output["output_type"] == "stream" and new_cell_output["name"] == "stdout"
105105
])
106106

107107
original_cell_stdout_ = original_cell_stdout

0 commit comments

Comments
 (0)