From 82dfd7235c392543ec0b003fec0edb9dce9fdc47 Mon Sep 17 00:00:00 2001 From: mariosasko Date: Thu, 1 Apr 2021 13:13:00 +0200 Subject: [PATCH] Small fix --- docs/source/scripts/check_notebooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/scripts/check_notebooks.py b/docs/source/scripts/check_notebooks.py index 92fd08b2..6020388c 100644 --- a/docs/source/scripts/check_notebooks.py +++ b/docs/source/scripts/check_notebooks.py @@ -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