def assertValidEvent(self, event):

        self.assert_(isinstance(event, typepad.Event),
            'object %r is not a typepad.Event' % event)
        self.assert_(event.id)
        self.assert_(event.url_id)
        self.assert_(event.published)
        self.assert_(event.make_self_link())
        self.assert_(len(event.verbs) > 0)
        m = re.match(r'^tag:api\.typepad\.com,2009:([A-Za-z]+)$',
            event.verbs[0])
        self.assert_(m,
            "%s does not match '^tag:api\.typepad\.com,2009:[A-Za-z]+$'" \
            % event.verbs[0])
        event_type = m.group(1)
        self.assert_(event.actor)
        self.assertValidUser(event.actor)
        # FIXME: https://intranet.sixapart.com/bugs/default.asp?87911
        if event.object is None:
            pass
        elif event_type in ('AddedFavorite', 'NewAsset'):
            self.assertValidAsset(event.object)
        elif event_type == 'JoinedGroup':
            self.assertValidGroup(event.object)
        elif event_type == 'AddedNeighbor':
            self.assertValidUser(event.object)
        else:
            self.fail("Event type %s is not recognized" % event_type)
print_stmt : PRINT RIGHTSHIFT test
dataset/ETHPy150Open typepad/python-typepad-api/tests/test_typepad.py/TestGroup.assertValidEvent--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_print_stmt4