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'), ]: