'Make sure that raising \'object_\' triggers a TypeError.'

def raise_fails(self, object_):

    try:
        raise object_
    except TypeError:
        return
    self.fail(('TypeError    expected    for    raising    %s' % type(object_)))
