Skip to content

Commit

Permalink
Merge pull request #124 from bammari/increase_execution_time
Browse files Browse the repository at this point in the history
Increase execution timeout
  • Loading branch information
jalving authored Oct 29, 2023
2 parents dc84be8 + b02e656 commit b9600e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/notebooks/test_run_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

# TODO: These will be replaced with stronger tests using testbook soon
def _test_run_notebook(folder, notebook_fname, n_cells):
# change to notebook directory to allow testing
# Change to notebook directory to allow for testing
cwd = os.getcwd()
os.chdir(os.path.join(this_file_dir(), "..", "..", "docs", "notebooks", folder))
with testbook(notebook_fname, timeout=300, execute=True) as tb:
with testbook(notebook_fname, timeout=500, execute=True) as tb:
assert tb.code_cells_executed == n_cells
os.chdir(cwd)

Expand Down

0 comments on commit b9600e2

Please sign in to comment.