diff --git a/tests/test_notebook.py b/tests/test_notebook.py index 006e98d..2e18a91 100644 --- a/tests/test_notebook.py +++ b/tests/test_notebook.py @@ -22,7 +22,7 @@ def _notebook_run(path): with tempfile.NamedTemporaryFile(suffix=".ipynb") as fout: args = ["jupyter", "nbconvert", "--to", "notebook", "--execute", "--ExecutePreprocessor.timeout=60", - "--kernel_name", kernel_name, + "--ExecutePreprocessor.kernel_name=%s"%(kernel_name), "--log-level=WARN", "--output", fout.name, path] subprocess.check_call(args)