def test_cell_magic_reg(self):
    'Cell magic manually registered'

    def cellm(line, cell):
        return (line, cell)
    _ip.register_magic_function(cellm, 'cell', 'cellm2')
    self.check_ident('cellm2')
Cell magic manually registered
def test_cell_magic_reg(self):
    

    def cellm(line, cell):
        return (line, cell)
    _ip.register_magic_function(cellm, 'cell', 'cellm2')
    self.check_ident('cellm2')