diff --git a/IPython/nbformat/convert.py b/IPython/nbformat/convert.py index 4fe780b..e577b0c 100644 --- a/IPython/nbformat/convert.py +++ b/IPython/nbformat/convert.py @@ -60,7 +60,7 @@ def convert(nb, to_version): convert_function = versions[version].downgrade # Convert and make sure version changed during conversion. - converted = convert_function(nb) #todo + converted = convert_function(nb) if converted.get('nbformat', 1) == version: raise Exception("Cannot convert notebook from v%d to v%d. Operation" \ "failed silently." % (major, step_version)) diff --git a/setupbase.py b/setupbase.py index 81f9feb..b7442fe 100644 --- a/setupbase.py +++ b/setupbase.py @@ -154,7 +154,8 @@ def find_package_data(): 'IPython.nbconvert' : ['templates/*.tpl', 'templates/latex/*.tplx', 'templates/latex/skeleton/*.tplx', 'templates/skeleton/*', 'templates/reveal_internals/*.tpl', 'tests/files/*.*', - 'exporters/tests/files/*.*'] + 'exporters/tests/files/*.*'], + 'IPython.nbformat' : ['tests/*.ipynb'] } return package_data