From bf10c76be0289d931570069ab8d03d2a8c84b557 2011-12-15 21:41:23 From: Thomas Kluyver Date: 2011-12-15 21:41:23 Subject: [PATCH] Add encoding declaration to test for notebook -> .py export. --- diff --git a/IPython/nbformat/v2/tests/nbexamples.py b/IPython/nbformat/v2/tests/nbexamples.py index 2f6174b..6b6dd28 100644 --- a/IPython/nbformat/v2/tests/nbexamples.py +++ b/IPython/nbformat/v2/tests/nbexamples.py @@ -81,7 +81,8 @@ nb0 = new_notebook( metadata=md ) -nb0_py = """# 2 +nb0_py = """# coding: utf-8 +# 2 #