From ec86a9a2459a63621a551d7577d90b4c6a997e59 Mon Sep 17 00:00:00 2001 From: Trevor Campbell Date: Thu, 31 Aug 2023 13:47:21 -0700 Subject: [PATCH] test debugging --- .../preprocessors/test_instantiatetests.py | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/nbgrader/tests/preprocessors/test_instantiatetests.py b/nbgrader/tests/preprocessors/test_instantiatetests.py index ff34ec69d..a7134f228 100644 --- a/nbgrader/tests/preprocessors/test_instantiatetests.py +++ b/nbgrader/tests/preprocessors/test_instantiatetests.py @@ -94,18 +94,18 @@ def test_kernel_workingdir(self, preprocessor, caplog): load_cell = create_file_loader_cell('grades.csv') test_cell.metadata['nbgrader'] = {'grade': True} - # with the right path, the kernel should load the file - nb = new_notebook() - nb.metadata['kernelspec'] = { - "name": "python3" - } - nb.cells.append(sol_cell) - nb.cells.append(test_cell) - nb.cells.append(load_cell) - resources = { - 'metadata': {'path': 'nbgrader/docs/source/user_guide/'} - } - nb, resources = preprocessor.preprocess(nb, resources) + ## with the right path, the kernel should load the file + #nb = new_notebook() + #nb.metadata['kernelspec'] = { + # "name": "python3" + #} + #nb.cells.append(sol_cell) + #nb.cells.append(test_cell) + #nb.cells.append(load_cell) + #resources = { + # 'metadata': {'path': 'nbgrader/docs/source/user_guide/'} + #} + #nb, resources = preprocessor.preprocess(nb, resources) # without the right path, the kernel should report an error nb = new_notebook()