diff --git a/IPython/nbconvert/exporters/tests/files/notebook2.ipynb b/IPython/nbconvert/exporters/tests/files/notebook2.ipynb index 69440fc..f773329 100644 --- a/IPython/nbconvert/exporters/tests/files/notebook2.ipynb +++ b/IPython/nbconvert/exporters/tests/files/notebook2.ipynb @@ -178,6 +178,24 @@ "metadata": {}, "outputs": [], "prompt_number": null + }, + { + "cell_type": "code", + "collapsed": false, + "input": [], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": "*" + }, + { + "cell_type": "code", + "collapsed": false, + "input": [], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 0 } ], "metadata": {} diff --git a/IPython/nbconvert/exporters/tests/test_html.py b/IPython/nbconvert/exporters/tests/test_html.py index decd081..655a0d7 100644 --- a/IPython/nbconvert/exporters/tests/test_html.py +++ b/IPython/nbconvert/exporters/tests/test_html.py @@ -69,7 +69,7 @@ class TestHTMLExporter(ExportersTestsBase): in_regex = r"In \[(.*)\]:" out_regex = r"Out\[(.*)\]:" - ins = ["1", "2", "6", "7", "8", "10", "14", " ", " "] + ins = ["1", "2", "6", "7", "8", "10", "14", " ", " ", "*", "0"] outs = ["7", "10", "14"] assert re.findall(in_regex, output) == ins diff --git a/IPython/nbconvert/exporters/tests/test_latex.py b/IPython/nbconvert/exporters/tests/test_latex.py index d2ea966..33bd4f5 100644 --- a/IPython/nbconvert/exporters/tests/test_latex.py +++ b/IPython/nbconvert/exporters/tests/test_latex.py @@ -110,7 +110,7 @@ class TestLatexExporter(ExportersTestsBase): in_regex = r"In \[\{\\color\{incolor\}(.*)\}\]:" out_regex = r"Out\[\{\\color\{outcolor\}(.*)\}\]:" - ins = ["1", "2", "6", "7", "8", "10", "14", " ", " "] + ins = ["1", "2", "6", "7", "8", "10", "14", " ", " ", "*", "0"] outs = ["7", "10", "14"] assert re.findall(in_regex, output) == ins