Show More
@@ -14,8 +14,6 b' from IPython.core import inputsplitter as isp' | |||
|
14 | 14 | from IPython.core.inputtransformer import InputTransformer |
|
15 | 15 | from IPython.core.tests.test_inputtransformer import syntax, syntax_ml |
|
16 | 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 | 19 | # Semi-complete examples (also used as tests) |
@@ -568,8 +566,8 b' class CellMagicsCommon(object):' | |||
|
568 | 566 | def test_whole_cell(self): |
|
569 | 567 | src = "%%cellm line\nbody\n" |
|
570 | 568 | out = self.sp.transform_cell(src) |
|
571 |
ref = |
|
|
572 |
nt.assert_equal(out, |
|
|
569 | ref = "get_ipython().run_cell_magic('cellm', 'line', 'body')\n" | |
|
570 | nt.assert_equal(out, ref) | |
|
573 | 571 | |
|
574 | 572 | def test_cellmagic_help(self): |
|
575 | 573 | self.sp.push('%%cellm?') |
General Comments 0
You need to be logged in to leave comments.
Login now