From 00a4821c58a2cd7e8670a052be6366d01675ebbc 2013-07-17 19:55:17 From: MinRK Date: 2013-07-17 19:55:17 Subject: [PATCH] test that cell-magics are not transformed mid-cell --- diff --git a/IPython/core/tests/test_inputtransformer.py b/IPython/core/tests/test_inputtransformer.py index 373aa5f..56d4c55 100644 --- a/IPython/core/tests/test_inputtransformer.py +++ b/IPython/core/tests/test_inputtransformer.py @@ -259,6 +259,9 @@ syntax_ml = \ (u'hello', None), (None , u_fmt("get_ipython().run_cell_magic({u}'bar', {u}'123', {u}'hello')")), ], + [(u'a=5', 'a=5'), + (u'%%cellmagic', '%%cellmagic'), + ], ], escaped =