From cd9be46f945aca1c43639fad4b2201bf639ee41c 2013-07-17 17:28:39 From: MinRK Date: 2013-07-17 17:28:39 Subject: [PATCH] update cell magic transform test --- diff --git a/IPython/core/tests/test_inputsplitter.py b/IPython/core/tests/test_inputsplitter.py index 3b2e981..9508979 100644 --- a/IPython/core/tests/test_inputsplitter.py +++ b/IPython/core/tests/test_inputsplitter.py @@ -451,7 +451,9 @@ class IPythonInputTestCase(InputSplitterTestCase): isp = self.isp for raw, name, line, cell in [ ("%%cellm a\nIn[1]:", u'cellm', u'a', u'In[1]:'), - ("%%cellm \n...:", u'cellm', u'', u'...:'), + ("%%cellm \nline\n>>>hi", u'cellm', u'', u'line\n>>>hi'), + (">>>%%cellm \nline\n>>>hi", u'cellm', u'', u'line\nhi'), + ("%%cellm \n>>>hi", u'cellm', u'', u'hi'), ("%%cellm \nline1\nline2", u'cellm', u'', u'line1\nline2'), ("%%cellm \nline1\\\\\nline2", u'cellm', u'', u'line1\\\\\nline2'), ]: