From 21be5321d237ae52a5056474ed36fbd21856852b Mon Sep 17 00:00:00 2001 From: Riccardo Bertossa Date: Mon, 18 Jul 2022 13:37:42 +0200 Subject: [PATCH] increased timeout for notebook tes executions --- tests/test_notebook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_notebook.py b/tests/test_notebook.py index 0fb420d56..4e313ab1d 100644 --- a/tests/test_notebook.py +++ b/tests/test_notebook.py @@ -13,9 +13,9 @@ def tb(filepath_tests): execute=False old_path=os.getcwd() os.chdir(filepath_tests) - with testbook(filepath_tests + '/../notebooks/calc_inspector.ipynb', execute=execute) as tb: + with testbook(filepath_tests + '/../notebooks/calc_inspector.ipynb', execute=execute, timeout=240) as tb: yield tb - os.chdir(old_path) #note that this is executed somewhere in the future + os.chdir(old_path) #note that this is executed somewhen in the future def test_density(tb,num_regression): import pyanalisi as pa