##// END OF EJS Templates
Remove more references to py3compat....
Matthias Bussonnier -
Show More
@@ -14,8 +14,6 b' from IPython.core import inputsplitter as isp'
14 from IPython.core.inputtransformer import InputTransformer
14 from IPython.core.inputtransformer import InputTransformer
15 from IPython.core.tests.test_inputtransformer import syntax, syntax_ml
15 from IPython.core.tests.test_inputtransformer import syntax, syntax_ml
16 from IPython.testing import tools as tt
16 from IPython.testing import tools as tt
17 from IPython.utils import py3compat
18 from IPython.utils.py3compat import input
19
17
20 #-----------------------------------------------------------------------------
18 #-----------------------------------------------------------------------------
21 # Semi-complete examples (also used as tests)
19 # Semi-complete examples (also used as tests)
@@ -568,8 +566,8 b' class CellMagicsCommon(object):'
568 def test_whole_cell(self):
566 def test_whole_cell(self):
569 src = "%%cellm line\nbody\n"
567 src = "%%cellm line\nbody\n"
570 out = self.sp.transform_cell(src)
568 out = self.sp.transform_cell(src)
571 ref = u"get_ipython().run_cell_magic('cellm', 'line', 'body')\n"
569 ref = "get_ipython().run_cell_magic('cellm', 'line', 'body')\n"
572 nt.assert_equal(out, py3compat.u_format(ref))
570 nt.assert_equal(out, ref)
573
571
574 def test_cellmagic_help(self):
572 def test_cellmagic_help(self):
575 self.sp.push('%%cellm?')
573 self.sp.push('%%cellm?')
General Comments 0
You need to be logged in to leave comments. Login now