diff --git a/autotest_exs/test_notebooks.py b/autotest_exs/test_notebooks.py index 28bc7c7c..62c37fbd 100644 --- a/autotest_exs/test_notebooks.py +++ b/autotest_exs/test_notebooks.py @@ -37,10 +37,7 @@ def test_notebooks(notebook): ipython = bin_path / "ipython" assert ipython.exists(), f"ipython not found at: {ipython}" - if "06" == str(notebook.name)[0:2]: - cmd = ["ipython", "-Wignore", str(nb_py)] - else: - cmd = ["ipython", str(nb_py)] + cmd = ["ipython", str(nb_py)] proc = subprocess.run(cmd) assert proc.returncode == 0, f"Running the notebook failed: {notebook}" diff --git a/examples/06_flow_graph_starfit.ipynb b/examples/06_flow_graph_starfit.ipynb index 3a97f4a6..8908dca3 100644 --- a/examples/06_flow_graph_starfit.ipynb +++ b/examples/06_flow_graph_starfit.ipynb @@ -48,7 +48,11 @@ "plot_height = 600\n", "plot_width = 1000\n", "\n", - "jupyter_black.load()" + "jupyter_black.load()\n", + "\n", + "# to remove:\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\")" ] }, {