diff --git a/scripts/nb-tester/test-notebook.py b/scripts/nb-tester/test-notebook.py index 02aba218a5..26653aad02 100644 --- a/scripts/nb-tester/test-notebook.py +++ b/scripts/nb-tester/test-notebook.py @@ -37,10 +37,11 @@ class ExecuteOptions: submit_jobs: bool -def execute_notebook(path: Path, options: ExecuteOptions) -> bool: +def execute_notebook(path: str, options: ExecuteOptions) -> bool: """ Wrapper function for `_execute_notebook` to print status """ + path = Path(path) if path.suffix != ".ipynb": print(f"⏭️ {path} is not a notebook; skipping") print(f"▶️ {path}", end="", flush=True)