Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mariosasko committed Apr 1, 2021
1 parent f5de1a5 commit 82dfd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/scripts/check_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def check_notebook_output(notebook_path, env="python3", ignore_whitespace=False)

new_cell_stdout = "".join([
new_cell_output["text"]
for new_cell_output in new_cell["outputs"] if new_cell_output["name"] == "stdout"
for new_cell_output in new_cell["outputs"] if new_cell_output["output_type"] == "stream" and new_cell_output["name"] == "stdout"
])

original_cell_stdout_ = original_cell_stdout
Expand Down

0 comments on commit 82dfd72

Please sign in to comment.