'Assert that an object is a Symbol with the given identifier.'

def _assert_symbol(self, obj, ident):

    self.assertTrue(isinstance(obj, functemplate.Symbol), (u'not    a    Symbol:    %s' % repr(obj)))
    self.assertEqual(obj.ident, ident, (u'wrong    identifier:    %s    vs.    %s' % (repr(obj.ident), repr(ident))))
