def set_endevent(eventtype=None):
    global _endmusic_event

    if eventtype is None:
        eventtype = SDL_NOEVENT
    _endmusic_event = eventtype
Setup the test
dataset/ETHPy150Open los-cocos/cocos/cocos/audio/pygame/music.py/set_endevent--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/mailer/tests/test_views.py/TestUnsubscribeView.setUp