'Test that simple class definitions work.'

def test_simpledef(self):

    src = 'class    foo:    pass\ndef    f():    return    foo()'
    self.mktmp(src)
    _ip.magic(('run    %s' % self.fname))
    _ip.run_cell('t    =    isinstance(f(),    foo)')
    nt.assert_true(_ip.user_ns['t'])
