'Test variable expansion with the name \'self\', which was failing.
See https://github.com/ipython/ipython/issues/1878#issuecomment-7698218'

def test_var_expand_self(self):

    ip.run_cell('class    cTest:\n        classvar="see    me"\n        def    test(self):\n                res    =    !echo    Variable:    {self.classvar}\n                return    res[0]\n')
    nt.assert_in('see    me', ip.user_ns['cTest']().test())
