Skip to content

Commit

Permalink
Remove requirement to clear notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhdu committed Mar 10, 2016
1 parent b9f526e commit b60bcae
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/test_notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,3 @@ def test_notebook_execution(notebook):

ep = ExecutePreprocessor(timeout=2400, kernel_name="python3")
ep.preprocess(nb, resources={})


@pytest.mark.parametrize("notebook", notebooks)
def test_notebook_clear(notebook):
with open(notebook) as fin:
nb = nbformat.read(fin, as_version=4)

for cell in nb.cells:
if cell["cell_type"] == "code":
assert cell["outputs"] == []
assert cell["execution_count"] is None

0 comments on commit b60bcae

Please sign in to comment.