def test_cell_magic_class2(self):
    'Cell magics declared via a class, #2'

    @magics_class
    class MyMagics2(Magics):

        @cell_magic('cellm4')
        def cellm33(self, line, cell):
            return (line, cell)
    _ip.register_magics(MyMagics2)
    self.check_ident('cellm4')
    c33 = _ip.find_cell_magic('cellm33')
    nt.assert_equal(c33, None)
Cell magics declared via a class, #2
def test_cell_magic_class2(self):
    

    @magics_class
    class MyMagics2(Magics):

        @cell_magic('cellm4')
        def cellm33(self, line, cell):
            return (line, cell)
    _ip.register_magics(MyMagics2)
    self.check_ident('cellm4')
    c33 = _ip.find_cell_magic('cellm33')
    nt.assert_equal(c33, None)